Adding New Option in Task for Approval

Ghazanfar Ansar
Tera Contributor

Hi All,

I need some help and guidance. I was wondering that if there is any way to add more task approval options 

GhazanfarAnsar_0-1689585557960.png

These are the default options that are available, in my case I need to add another task approval option that says Approve and Forward, which in return is taken by workflow to create another approval task for other party as well. 

Appreciate support form community in advance please. 

 

1 ACCEPTED SOLUTION

Ahmmed Ali
Mega Sage

Hello @Ghazanfar Ansar 

 

Adding new option to approval field would be not good as it is shared across platform and applications and maintaining same would be difficult.

 

If you need functionality for single catalog item, you can create one hidden variable in your catalog item with name as forward approval. Then in approval record, add new button to approve and forward, and in that button script, query the RITM record and update the variable value, then approve the approval. In workflow after this approval, add a if block to check value of the new variable and based on that either create new approval or other action as per your requirement.

 

Thank you,

Ali

 

 

 

If I could help you with your Query then, please hit the Thumb Icon and mark my answer as Correct!!

Thank you,
Ali

View solution in original post

2 REPLIES 2

Ahmmed Ali
Mega Sage

Hello @Ghazanfar Ansar 

 

Adding new option to approval field would be not good as it is shared across platform and applications and maintaining same would be difficult.

 

If you need functionality for single catalog item, you can create one hidden variable in your catalog item with name as forward approval. Then in approval record, add new button to approve and forward, and in that button script, query the RITM record and update the variable value, then approve the approval. In workflow after this approval, add a if block to check value of the new variable and based on that either create new approval or other action as per your requirement.

 

Thank you,

Ali

 

 

 

If I could help you with your Query then, please hit the Thumb Icon and mark my answer as Correct!!

Thank you,
Ali

Ghazanfar Ansar
Tera Contributor

thank you @Ahmmed Ali  šŸ™‚