Visibility based on variable which is in array in activiti

cancel
Showing results for 
Search instead for 
Did you mean: 
shilpak
Active Member II

Visibility based on variable which is in array in activiti

Hello,

I want to set visibility condition based on variable value which is in array. How to set the visibility condition based on variable value which is in array format.

For example,

 My variable is as follows:

{

 name: "incidenttype"

  scope: "global"

value: "[{"id":4,"name":"Damage to Property/ Equipment","checked":true,"value":true},{"id":2,"name":"Individual Injury","checked":true,"value":true}]"

valueUrl: null

}

Based on the variable incidenttype, I need to display the inventory lists. As per the above example, I need to display the inventory of Damage to Property/ Equipment and Individual Injury. How to set visibility condition based on variable value which is in array? Can anyone please provide solution to this?

Thanks & Regards,

Shilpa Kulkarni