Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-10498

Update Salesforce component to support approval REST API

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.18.0
    • 2.19.0
    • camel-salesforce
    • 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

          Activity

            People

              zregvart Zoran Regvart
              zregvart Zoran Regvart
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: