Passing Data to a Business Process Using the CreateSchedule XAPI
Instead of using a schedule that is created in the UI to start a business process (and to pass name-value pairs to the business process), you can create and run a schedule for a business process programmatically, by using the CreateSchedule XAPI.
The CreateSchedule XAPI requires the TimingXML and NAMEVALUEPAIRXML tags in its input.
Note: See the application API Javadocs for detailed
information about these tags and other requirements for CreateScheduleXML.
If you are invoking a schedule that already exists, you can use the GetScheduleDetails XAPI to retrieve information for it. The output from GetScheduleDetails includes the two tags needed as input for CreateScheduleXML.