Common Modules Flow send variable

Good afternoon,
I'm starting to use common modules flows and I can't find a way to share variables from the inbound call flow to the common module flow, I have variables that I need to use in the common module, my first idea was to use the Data participant, however they are technical variables that I do not want to persist in Genesys or that I do not want supervisors to see in the details of the call, what would be the appropriate way to share variables?
I see that the flows have a dependencies section, it seems to me that if variables can be shared, they would appear here, but either you can't or I haven't found a way to do it.

For me, common modules are an equivalent to functions in programming, but if I cannot pass input variables and return response variables to the main program, much of the power of functions is lost.

Regards.

Hello,

With Common Module Flows, you can define both input and/or output variable (exposed as input/output variables in the Call Common Module action).

You can create a new variable - from "Resources - Data", clicking on Add variable.
This will create the variable in "Common" namespace - i.e. Common.MayVariable
If you click on the variable name link ("Resources - Data"), you will be able to define if the variable is used as Input to the flow and/or as Output to the flow.

If you have created a variable - which is in the "Task" namespace - i.e. Task.MyVariable - click on the variable name link and you can transform it to a variable in Common namespace - select the "Entire Common Module" radio button under Variable accessibility.

Regards,

Thanks Jerome, I'm going to give it a try!

I a m McLovin common modules as I started my IT career as a software engineer (Common Modules are basically functions). Ping me if you need help!

Thank you very much @Richard_Surroz I have been doing tests and I already have a couple of common modules working perfectly with @Jerome.Saint-Marc 's indications, but definitely if I have any questions I will ping you ;).

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