I am trying create a process flow in a batch program. Does anyone have an example. I am using the basic trigger, and it cannot find the service and create a work unit. Can you use a basic trigger from a batch program?
Basic triggers are really just for online programs as the service name includes the form Action taken ie for HR11.1 Add the service has to be called HR11.1_A.
Use the advanced trigger. The good news is once you do one this way every new trigger you create will pretty much use the same identical code just the variables and the service name and work unit title really changes. With the advanced trigger you have complete control of what the service is called.
Good Point about the advanced trigger. We were able to use the basic trigger for now by putting the following lines of code in the AP160 program prior to calling the flow
MOVE "AP160.1" TO CRT-TOKEN.
MOVE "X" TO CRT-FC.
and naming the service to match those parameters.