Legacy Dev Forum Posts

 View Only

Sign Up

Define inputs and get outputs for Data Actions using Architect Scripting

  • 1.  Define inputs and get outputs for Data Actions using Architect Scripting

    Posted 06-05-2025 19:10

    rocco52 | 2020-10-20 13:51:44 UTC | #1

    Hello Everyone

    I have created a Data Action Call using the next sentence:

    const callDataAction = scriptingActionFactory.addActionCallData(loginTask, 'Login Data Action').setDataActionByIdAsync(dataActionIdLogin);

    But I'm not sure how to add the inputs and get the outputs. Reading the documentation (https://mypurecloud.github.io/purecloud-flow-scripting-api-sdk-javascript/ArchActionCallData.html#dataActionInputs), says that I can use the member function dataActionInputs, but I don't understand how to use that. Anybody has an example?

    Thank you!


    system | 2020-11-20 13:51:46 UTC | #2

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 9120