Need to create an approval on purchase order table related list by using workflow

rahul kumar10
Tera Contributor

Need to create an approver approval on Purchase Order table related list by using runscript in workflow, because workflow is on RITM and approval approver should be taken from a user reference field which is available as (approver 1 and approver 2)on purchase order table.

6 REPLIES 6

BharathChintala
Mega Sage

@rahul kumar10 

If you are saying when a new record is inserted to Purchase order table approvers need to trigger for those 2 fields. Then,

Create a workflow on table purchase order keep approval activity add fields approval1 and approval2.

Thats it.

 

Another approach using After BR on insert of Purchase order table also it will work.

If my inputs have helped with your question, please mark my answer as accepted solution, and give a thumb up.
Bharath Chintala

Approval gets triggered after closing of Procurement Task (custom table). i tried creating workflow on Purchase order, it triggers the Approval but approval doesn't appears in related list.

@rahul kumar10 

Can you confirm on which table your approval is triggering and  is that table extending Task table?

 

Can you send related list screenshot?

If my inputs have helped with your question, please mark my answer as accepted solution, and give a thumb up.
Bharath Chintala

purchase order table extending Task table, but approval isn't appearing there may be because of relationship adquery. that's why i wanted it to create it by using runscrpit on workflow.

i have used relationship to create approval on purchase order table.