How to use gloaballist in conditions?

Hi Team,

How can I user global list data in my workflow conditions.

please note GlobalList is filled from database dynamically.


Thanks,
Kinjal

Hello.
I’m not sure it’s the best solution but I think it can works.

In your process, you can create a variable that sum up your global list.
01True,02False,03True,04True …

In your condition, you can test if your variable contains a sub string (see below)

(function()
{
var test = NAME OF VARIABLE
var n = test.indexOf(“03True”); // Check if rule 03 must be performed)

if (n >= 0 )
{return true}
else
{return false}

})()

Best regards