Want to import Review Activity Reviewer comment into SR Notification.
I am looking to do a SR notification if a review activity is rejected. I understand that I cannot send a Review notification to the affected user of the Service Request, because the RA is a child of the SR. However, can I pull in the reviewer's comments into a SR notification? This would allow me send a notification to the Affected User. If so, could you please demonstrate, because everything I have tried as failed. Thank you.
Best Answer
-
Eric_Evans Member IT Monkey ✭
Adam,
Thank you for the reply.
I was able to accomplish what I was after. For anyone else that is looking for this solution:
$Context/Path[Relationship='CustomSystem_WorkItem_Activity_Library!System.WorkItemContainsActivity' TypeConstraint='CustomSystem_WorkItem_Activity_Library!System.WorkItem.Activity.ReviewActivity']/Path[Relationship='CustomSystem_WorkItem_Activity_Library!System.ReviewActivityHasReviewer' TypeConstraint='CustomSystem_WorkItem_Activity_Library!System.Reviewer']/Property[Type='CustomSystem_WorkItem_Activity_Library!System.Reviewer']/Comments$
This will allow you to access a Reviewer's comments from a Denied Review Activity.
2
Answers
I've typically done something like this with Orchestrator wherein you:
Since the starting block here is an RA, you would be grabbing the Comment at the very beginning and then be able to do whatever you want with it downstream. This approach provides some room to grow because it works for two Work Item types in a single runbook. Build once. Use many!
Adam,
Thank you for the reply.
I was able to accomplish what I was after. For anyone else that is looking for this solution:
This will allow you to access a Reviewer's comments from a Denied Review Activity.