How to use current RITM field values in Workflow

Priya75
Tera Contributor

Hi All,

 

I have a workflow which is getting attached to the RITM, so as soon as the assignment group on sc_req_item is populated it should trigger approval.

So, I am using "Wait for Condition" activity and "Group Approval Activity " inside group approval activity i am using script box:-

var answer=[];

answer.push(current.assignment_group);

 

 

but it is not triggering any approvals.

1 REPLY 1

Harish KM
Kilo Patron
Kilo Patron

I dont see any issue with the code and does the group have users?

. Just tested in PDI works fine. Screenshot below

HarishKM_0-1696920160127.png

 

Run script updates group on RITM

HarishKM_1-1696920207610.png

HarishKM_2-1696920286516.png

 

Regards
Harish