1
0
-1

hello guys, can I create workflow variable programmatically like when created in process design.


if this option was not exist already in joget, it is so helpful to create this method. 

i was too lazy to dive in system and make it.


by the way can we create process element's Router and Activity with paths conduction programmatically.

best for you guys 

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hi, you need to predefine workflow variables in your process design. Once it is defined, you can programmatically set the value using Setting Workflow Variable Value in Process Tool Bean Shell. Routes and activities also need to be predefined in your process design.

      1. tito velao

        hello, thank you for interested and response, yes I am used this scenario already 
        and I use this Method for change the variable :

        WorkflowManager#processVariable 

        what I want : predefine workflow variables in my code (beanShell or plugin).

      CommentAdd your comment...