RITM Variables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 02:07 AM
Hello,
I want to add some logic that will create task based on the values submitted in a service request.
var group = grReqItem.variables.assignment_group.getDisplayValue();
returnValue = (group == 'test_group') ? 'true' : 'false';
so basically I want to use grReqItem.variables.assignment_group to retrieve the assignment group from the RITM
and depending on what is the assignment group later on I want to perform some actions.
FYI: I use it inside Task configuration (Advanced start condition in Process tab):
Many thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 05:08 AM
Are you able to use workflow on RITM for the same? If yes then instead of this use if condition for assignment group.
if (current.variables.assignment_group == "test_grp") {return true;} return false;
And the create the required task.
Please verify and let me know so I can help you accordingly.
Please accept my solution if it works for you and thumps up to mark it as helpful.
Thank you!!
Thank you!!
Dnyaneshwaree Satpute
Tera Guru