Skip to main content
August 30, 2021
Solved

How to call integration with post method in expression rule

  • August 30, 2021
  • 3 replies
  • 0 views

Hi 

I have integration with post method,

I'm getting success response with token in body  but I need to call this integration in Expression rule and fetch the token field and pass that token into remaining API's. 

->I have tried to call in expression rule but getting output as "Smart Service".

How to call the post method integration in expression rule. can anyone suggest on this issue.

Regards,

Devi.

    Best answer by stefanhelzle0001

    You might want to modify the value for "Usage". Check https://docs.appian.com/suite/help/21.3/Integration_Object.html

    The type of interaction that the HTTP request has with data in the external system.

    • Queries data: The request retrieves data but does not make any changes.
    • Modifies data: The request may create, update, or delete data in the external system.

    Integrations that query data can be used in any expression. Integrations that modify data must be called as a smart service. This means they can only be called in a saveInto parameter, web API, or process model. To learn how to call an integration, see Call An Integration.

    This field is automatically set to Modifies data and disabled when an integration response is configured to convert binary or base64 to Appian documents.

    3 replies

    stefanhelzle0001
    Brainy
    August 30, 2021

    You might want to modify the value for "Usage". Check https://docs.appian.com/suite/help/21.3/Integration_Object.html

    The type of interaction that the HTTP request has with data in the external system.

    • Queries data: The request retrieves data but does not make any changes.
    • Modifies data: The request may create, update, or delete data in the external system.

    Integrations that query data can be used in any expression. Integrations that modify data must be called as a smart service. This means they can only be called in a saveInto parameter, web API, or process model. To learn how to call an integration, see Call An Integration.

    This field is automatically set to Modifies data and disabled when an integration response is configured to convert binary or base64 to Appian documents.

    gayathris111098
    August 31, 2021

    Image details for reference

    devir0002Author
    September 2, 2021

    Yes Gayathri.

    It's working fine. Thank you so much[emoticon:1435ff2429184e17bc948e4f19178e1e]

    Regards,

    Devi.