Creating task definition and the task payload
The General section helps you to define task definition. In this section, you can specify details such as the task title, description, task outcomes, task category, task priority, and task owner.
How to do it...
Here you will learn to create a task definition.
I. Define Task Title and Description:
1. Go to the BPM Navigator, SalesToContractDemo |Business Catalog |Human tasks, and click on the
ManagementApproval.task
file.2. This will open the Human Task editor.
3. Go to the General section.
4. In the Task Title, select Text and XPath to enter a combination of Text and XPath expressions (dynamic expressions) from the input schema. Expand Schema and get the Opportunity ID and Enter Text as follows:
Management Approval for: /task:task/task:payload/ns0:QuoteRequest/ns0:Summary/ns0:OpportunityID
.5. XPath will get auto generated when you click on the Task | payload | QuoteRequest | Summary | OpportunityID.
6. Click OK in the Expression Builder.
7. Enter...