My 4GL successfully calls PERFORM 1000-CHK-WF-STATUS.
If I have the documentation right, I am supposed to invoke 1000-WF-SERVICE, passing WFAPI-I-SEVICE and at least WFAPI-I-CRITERION-1.
Working through debug/batchanim I arrive at the following code block:
"WORKFLOWSERVICEINQUIRE" USING WFAPI-I-PRODUCT-LINE WFAPI-I-SERVICE WFAPI-I-CRIT-1-15 WFAPI-I-CRIT-2-15 WFAPI-I-CRIT-3-15 WFAPI-I-OBJECT-NAME WFAPI-O-PROCEDURE WFAPI-O-ROLE WFAPI-O-AGENT WFAPI-O-LOG-METRICS WFAPI-O-RET-MSG WFAPI-O-RETURN-CODE.
Immediately after this block exeuctes:
WFAPI-O-RETURN-CODE = 8 WFAPI-O-RET-MSG = No procedure found for service
Based on the docs, I only need PRODUCT-LINE, SERVICE and at least one criteria. To me...it sure looks like OBJECT-NAME is also required. The remaining variables are what should be initialized if 1000-WF-SERVICE is successful.
I am able to generate a trigger through PFAdmin and WFWK without error.
John - I added the flow to System Data View, Flow Definition. Under Services, Services Process Definition, I added PROCESS NAME, which matched the Flow Definition Then I added the Event Type: EVT_PFLOW.
Based on your response, I fear I did not add it. Is the Flow Definition a complete path, or just the prefix of the ProcessFlow file name?
I am getting "XXXXX Service not defined" error. The service is defined in Landmark and enabled. I am trying to call the service using WF APIs. I am passing all the Criterion and the same has been used in the LMRK Service. Please provide a solution to resolve this?