Thanks for the solution. It worked for me. But at the same time i am facing another issue related to "initiator".
I have created a process definition, where for start event i have set initiator. So when the Authorization header was set the initiator was automatically assigned to the user mentioned in header.
For example below is the sample json POST request to start a process:-
Here the initiator=kermit (automatically set)
But now when the header is not set, i am not able to set the initiator (or not able to start process using user)
I tried setting "initiator" in the 2nd json call but the process started with blank START_USER_ID_ (DB column in act_hi_procinst table)
Can you please help which additional attribute is required in the JSON call in order to set the starter/initiator for a process instance?
Looking forward for your support as always.