Clear the execution form after getting the JID
Added d3
Return JID in an object to be added to the event object