Scenario
There is an approval process e.g. manager approves an amount up to £500.00
If the manager submits an request, it would then send the approval to him-self to approve the request but this is not ideal and not prefered by the management.
Also, when it gets auto-approved, the task gets updated and the workflow task to show a record.
Solution (not fully working)
To add a 'Set a Condition' function in the workflow to check the following:
If the requester is equal to the Manager ... as seen below.
If the workflow runs without the two actions: Update Workflow Task and Complete workflow task, then all it does it updates the item list with the manager's name but there is no record in the workflow task to state it has been auto-approved etc.
Problems
I am not using 'Parallel' actions because ... I think it's not required.
Furthermore, when I try to update the 'Workflow Task' list via the 'Create Item' function, I do not get the field for 'Related Content' so that the reference number is updated - instead it shows Related Items. As well as, the link binded behind the 'Title' does not resolve as it does not exist.
What I want to achieve?
I like to add the records in the workflow task list to show that the relevant task has been auto-approved by the manager, which partly works but not fully. However, the Complete Workflow Task action seems to be able to do that work but it needs the Action ID, which I am not able to get from a Flexi Task (because it has the reminders and deligation in one unit).
Maybe adding a 'Set variable' may store the action ID ?
However the option I selected is Workflow Instance ID and doubt it is the same!
Question
How to get the Action ID stored in a variable?
How do update the Workflow Task to have all the relevant information: Related Content and Outcome ??