Workflows are usually gets triggered or executed on specific event as per the set up. But what if you want to execute the workflow manually through programmatically.
New Stuff:How to display VT functions (menus) in Telnet?
There are standard actions written under SAIWRKMAN function for triggering the workflows. Using the same actions workflow can be called programmatically. Refer to the below snippet of code.
In the above code, XYZ should be replaced by the name of the manual workflow that you want to execute.
Note: Depending on the workflow which you are going to execute, you might require to declare and change the of variables, masks and files.
Also Read:
1. Workflow of Quality Control Process in X3
2. Workflow Monitor in Sage X3
3. Assigning Workflow Parameters in Sage X3
4. How to send mail programmatically
5. Purchase Request Signature