The CreatorCon Call for Content is officially open! Get started here.

Scripted Approval is not working

IAmIshan
Tera Guru

I have catalog item and it has only two fields:

1.Requested for 

2.Select Group

 

Once request is submitted, it will trigger approval to selected group's manager. and for this I have written script (I know we can use get variables action and we can do it without writing script for it) in Rules field, and it is working fine

 

var appr = fd_data.trigger.request_item.variables.select_group.manager;
return "ApprovesAnyU["+appr+"]";

It is triggering approval to approver but immediately updating request as Rejected.. ideally it should be requested/pending.. but thats not happening.
 
Ishan1_0-1700397649362.png

 

0 REPLIES 0