Define inputs and get outputs for Data Actions using Architect Scripting

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!

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