javier.delolmo | 2021-11-26 13:38:46 UTC | #1
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.
Jerome.Saint-Marc | 2021-11-27 10:46:51 UTC | #2
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,
javier.delolmo | 2021-11-27 10:46:44 UTC | #3
Thanks Jerome, I'm going to give it a try!
Richard_Surroz | 2021-12-02 17:40:08 UTC | #4
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!
javier.delolmo | 2021-12-03 10:47:06 UTC | #5
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 ;).
system | 2022-01-03 10:47:54 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: 12774