You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2016/11/22 08:55:58 UTC
[jira] [Updated] (CAMEL-10498) Update Salesforce component to
support approval REST API
[ https://issues.apache.org/jira/browse/CAMEL-10498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-10498:
--------------------------------
Labels: (was: feature features future)
> Update Salesforce component to support approval REST API
> --------------------------------------------------------
>
> Key: CAMEL-10498
> URL: https://issues.apache.org/jira/browse/CAMEL-10498
> Project: Camel
> Issue Type: New Feature
> Components: camel-salesforce
> Affects Versions: 2.18.0
> Environment: Any
> Reporter: Zoran Regvart
> Fix For: 2.18.2
>
>
> Part of CAMEL-8396 to add support for the [Approvals|https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_process_approvals.htm].
> 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:
> {code:java}
> ...to("salesforce:approvals")
> .split().body()
> .log("${body.entityId} - ${body.instanceStatus}")
> {code}
> And to send a record for approval:
> {code:java}
> ...to("salesforce:approval?approval.actionType=Submit&...")
> .log("${body.id} - ${body.instanceStatus}")
> {code}
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)