Approval action in Flow designer is not adding the approver to RITM

Arpit Nigam
Tera Contributor

I have created an Action for General Manager approval and its returning the SYS ID of the approver. Now I have added this action to the flow designer, but when I am submitting the catalogue request the general manager approval is not getting attached. Refer attached Snapshots.

 

ArpitNigam_0-1722571894560.png

 

ArpitNigam_2-1722571933877.png

 

ArpitNigam_3-1722571954017.png

 

ArpitNigam_4-1722571974013.png

 

 

15 REPLIES 15

vermaamit16
Kilo Patron

Hi @Arpit Nigam 

 

I could see that you are calling a Script Include in your action. Is the Script Include responsible for creating the approval ?

 

Also, in the flow, the input you are passing to your action, please ensure that you are passing a reference record to user table only, not the sys_id directly.

 

Thanks and Regards

Amit Verma

Thanks and Regards
Amit Verma

Yes, Amit that's right. Script include is fetching the general manager approver details. What changes I need to do to ensure that I am  passing a reference record to user table only, not the sys_id directly ?

@Arpit Nigam 

 

Probably, you can change the data type of your action variable user to string instead of Reference to User table. In the flow, you can then pass the sys_id of the user directly by dot-walking to affected users catalog variable and selecting sys_id.

Thanks and Regards
Amit Verma

Tried the same @vermaamit16 , but No luck. Still same issue.