Hi all,
In Laserfiche Cloud, I'm trying to setup a Conditional Decision Branch within a Workflow to determine if the environment is run in TESTING or in PRODUCTION.
I have a Business Process that outputs a '$TESTING' Input Parameter to a 'TESTING | PRODUCTION' Workflow.
Initially, I tried using a BOOLEAN datatype , but ran into a lot of funky problems. (For example, is a 'NULL (None)' value evaluated as true?)
So I'm tracking tokens and trying to start simple...
I've set up a Conditional Decision that has two branches:
LEFT:
IF all of these conditions are true:
IF $TESTING is <empty>
RIGHT:
(No conditions)
The problems occur when I specify the Input Parameter from the Business Process side.
The other Input Parameters work fine, except for this latest one...
Here is the Business Process History with the Input Parameters:
In the Workflow Monitor, the 3rd Parameter is missing!
Here is the Workflow Branch:
The $TESTING Input Parameter has the instance ID token attached, (I've tried random string data as well, it really shouldn't matter as long as it isn't empty). I've tried this as a Boolean, Integer, and it always seems to come back '(None)' or pass as <empty>. I tried disabling Track Tokens just to see if it was overriding the input parameter, but now I'm convinced that the $TESTING Input Parameter is not making it for some odd reason.
Pretty lost on this, any help is appreciated.