Creating a task

When creating a task, the action code (ProcessPulseTask/DataArea/Process/ActionCriteria/ ActionExpression/@actionCode) must be Add.

This table shows the elements you can use in the noun instance (ProcessPulseTask/DataArea/PulseTask):

Element Note
Priority Optional, default is MEDIUM.
Description Required
Note Optional
Parameter and child elements Optional
DistributionPerson or DistributionGroup Define at least one DistributionPerson or DistributionGroup.

For a DistributionPerson, do not specify the Distribution/ID, because it is generated by the Activities engine.

Do not use other elements, such as DocumentID, CreationDateTime, and Status, when creating a task. These elements are determined by the Activities engine.

This table shows the elements that are included in the resulting AcknowledgePulseTask BOD:

Element Note
DocumentID/ID Available if actionCode is Accepted.

If the task cannot be created successfully, the actionCode is Rejected.

Note: We recommend that you include a unique value for the BODID. You can use that to process the AcknowledgePulseTask because the BODID is available again in the original application area.

If the task could not be created, you receive an AcknowledgePulseTask BOD with action code Rejected.

If the AcknowledgePulseTask BOD can not be delivered, a Confirm BOD is generated.