Using an additional field with an approval python script
I have a an incident template with an additional filed called 'Line managers e-mail Address" which is compulsory, when a requester completed the incident request there is a custom trigger that calls the python script, this uses the 'Line managers e-mail Address' field to create a JSON with "ADD_APPROVAL_STAGE"
The reason for adding the approval stage like this is down to new staff having different line managers, and we have many, all line managers are requesters.
Python Attached.
The request is made as expected but there is no approval tab, there are also errors in the request history.
Action Result
by Foster, Paul
Action Name : Dynamic Approve
Message :
paul.foster@hey.nhs.uk
11:53
Approval Request
by System
The following e-mail ID's cannot be included for Request Approval: : [INVALID]
What am I missing please?
New to ADSelfService Plus?