Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.18.0
-
None
-
Any
-
Patch Available
-
Unknown
-
Patch
Description
Part of CAMEL-8396 to add support for the Approvals.
Implement support for getting and sending approvals for
processing via Salesforce REST API.
Add two new operations: approvals to fetch any approvals already
in progress, and approval to initiate approval process on the supplied
record or records (batch).
To fetch the records in approval process:
...to("salesforce:approvals") .split().body() .log("${body.entityId} - ${body.instanceStatus}")
And to send a record for approval:
...to("salesforce:approval?approval.actionType=Submit&...") .log("${body.id} - ${body.instanceStatus}")
The approval operation should have the ability to set properties on the
endpoint (let's call that template), via message headers and message
body. These can be combined, to place default values on the endpoint
(template), and runtime values trough headers or message body.
If the message body is an Iterable then
they should be submitted in a batch.
Attachments
Issue Links
- links to