DanielG1 | 2023-10-13 11:05:40 UTC | #1
Hi guys need some help.
I have created workflow that is enabled by a trigger with ACW event. Everything is working OK, i get all callback data, conversation, participant etc as documentation says, but... i have no idea of whay to get the variable "callbackNumbers".
I have access to the others variables.
Wich variable type is CallbackNumbers and wich variable type i have to use in the workflow. Event is having the number :slight_smile:
zubair | 2023-10-13 17:13:26 UTC | #2
Hi @DanielG1
callbackNumbers is an array in that schema so String Collection variable in workflow should work.
DanielG1 | 2023-10-16 09:08:00 UTC | #3
Yes, i see, and i tried with Array(String) but it doesn´t work. Accesing to the numbers with variable[0] is not getting anything. Working with arrays is somehting that i did in other flows, but that workflow seems to be not the same with numbers array :frowning:
zubair | 2023-10-17 08:42:28 UTC | #4
https://developer.genesys.cloud/platform/process-automation/#workflowtargetsettings
TopLevelPrimitives: The top level primitive fields (strings, enums, numbers, and booleans) of the event are sent to the workflow.
I think you need to send whole event as JSON object and extract required fields.
DanielG1 | 2023-10-18 08:10:17 UTC | #5
Good point, i will check it. Tnx Zubair
system | 2023-11-18 08:10:59 UTC | #6
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: 22523