On clicking a approval button on the form approval form, newly created record should open on the approval Form.

Community Alums
Not applicable

I have a form that creates a Business Application , on submitting the form it actually creates a Request item for the approval , as we have a list of approvers in the Requested Item, on selecting a one approver it takes to the approval form , when we click the approve button in the approval form it should redirect to  the newly created business application form.

Kindly help me with this Requirement.

1 ACCEPTED SOLUTION

Mahendra RC
Mega Sage

Hello Prakash,

As far as I understood your requirement a request is submitted to create a Business application and once the request is submitted, RITM will be created with some approvals on it. When your asked to when some approver opens the approval record to approve the RITM, they click on Approve button on sysapproval_approver table and the RITM is approved. Now once it is approved by clicking on Approve button, the Approve button should redirect to newly created Business Application.

Your business application is created from the Flow that you have created. If that is the case then I believe this is not possible to implement because there is no relationship between the Business Application record and sysapproval_approver table. Also when you click on the Approve button the flow will take say 500ms or 1 second so in this case how the Approve button script will identify if the Business Application is created or not

Please mark my respsone as helpful/correct, if it answer your question.

Thanks

View solution in original post

18 REPLIES 18

Community Alums
Not applicable

Hi Yousaf

could you please respond

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

Approve button must be out of the box one.

Why to update it?

regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Community Alums
Not applicable

Hi Ankur,

I have a form that creates a Business Application , on submitting the form it actually creates a Request item for the approval , as we have a list of approvers in the Requested Item, on selecting a one approver it takes to the approval form , when we click the approve button in the approval form it should redirect to  the newly created business application form.

 

New Business application is not created within the UI action Script.

We have a Work flow in which

1. when the approval action( Marked as Approved) is reached then the flow goes to the action "Create Event(Notification to App Owner) "and then it goes to the action  "Run Script( Create Business application) "

2. It looks thats where a Business application is created .

Please help to achieve this Requirement

Community Alums
Not applicable

Ankur , could you please respond on this

Thanks,

Prakash.

Hi,

how is user approving? from sysapproval_approver button?

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader