How to create an Any Type variable in a process model

Good afternoon,

I need to create an Any Type variable in a process to maintain the format. For example, I will send rule!example from the source and I want it to be preserved. It works between rules with Any Type variables, but I can't do it in the process. Does anyone know a way to create Any Type variables in a process?

Thank you very much

  Discussion posts and replies are publicly visible

  • 0
    Certified Lead Developer

    You can't.

    The workaround would be to store the value in a map and store that as the PV.

  • 0
    Certified Lead Developer

    You can use the data attribute if a datasubset to store ANY data in a process.

  • 0
    Certified Lead Developer

    2 good alternative ways of doing this:

    1. store a Map, as Mathieu mentioned
    2. store your value in a JSON dictionary (so a PV of type "Text"), and have the task form translate it to/from JSON as needed.