Hi
Its noted in the documentation for
Common Modules https://help.mypurecloud.com/articles/work-with-common-module-flows/ that they can "...
share common actions and data types across different flow types...".
Though I want to confirm that flow-specific but built-in data variables are never available in any Common Module regardless if they have been restricted to say only the Inbound Call flow?
For example, I have a Common Module that is only used for inbound call flow, but in the expressions in Architect, I don't have access to either of these variables:
-
Call.Ani-
Call.ConversationIdThe only built-in variables I can access are some
System.* - variables like:
-
Flow.version-
System.DateTimeMy use case is I could simplify the flows that calls on my Common Module if I was able to use the built-in variables compatible with the called Common Module's flow type(s).
For example, to look up a customer in our crm using a Common Module
FindInCrm I could invoke the module from the calling flow like:
-
FindInCrm(findByAni=true)Instead of doing what I do now, which is to calculate some properties that I rather delegate as the Common Module's responsibilities:
-
Task.ani = Replace(ToPhoneNumber(Call.Ani).e164, "+", "")-
FindInCrm(findByMsisdn=Task.ani, conversationId=Call.ConversationId)Noted some logic in the example above could be moved into the Common Module, but I expected a variable like
ConversationId might be available.
I mostly want confirmation that this "limitation/design decision" is real, and I haven't missed some setting that would enable this (the documentation of Common Module's are rather terse), since we will be doing a lot of refactoring of Architect Flows to use the new (and awesome) Common Modules, and this constraint is an important one to consider when we do so.
#SystemAdministration------------------------------
Joel Hellman
Hi3G
------------------------------