Skip to main content
December 17, 2024
Question

How to create an Any Type variable in a process model

  • December 17, 2024
  • 3 replies
  • 1 view

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

3 replies

mathieud0001
December 17, 2024

You can't.

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

stefanhelzle0001
December 17, 2024

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

mikes0011
Brainy
December 17, 2024

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.