RITM Variables

dev_K
Tera Contributor

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

 

dev_K_0-1718010182509.png

 

 

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):

 

dev_K_1-1718010374326.png

 

 

Many thanks!

1 REPLY 1

Dnyaneshwaree
Mega Sage

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!!