Callappengine Question
We are using Event Mapping on the Enrollment component. Whenever a change is made on the component, we trigger a Service Operation, which in turn calls an Application Engine program.
The Application Engine processes successfully; however, the Process Instance is always returned as 0. Because of this, we are unable to schedule or track the process using a valid Process Instance.
Our requirement is to obtain a valid Process Instance for the AE execution. We have already tried using GetNextProcessInstance() followed by CallAppEngine(), but that approach did not work.
Has anyone encountered a similar situation or found a way to obtain a valid Process Instance when launching an AE from a Service Operation/Event Mapping context?