I want to display a informational message (slide out panel) when the Credit Card Order checkbox is changed from unchecked to checked (false to true). I wrote this BPM, but it is backwards, it’s firing when the checkbox gets unchecked. What am I doing incorrectly?
Did you try “False” to “True”?
Also, try changing your condition from “any to true” to “false to true”
That might clear up the weirdness there.
“false to true” gives the same result as “any to true”, it fires when I uncheck the credit card order checkbox.
You may have tried this what do you get when you do true to false? Some field values aren’t always the way you might expect them. Also might put a wide open with no conditions popup showing the value in that field to see what values it goes through as part of the BO running.
Jim,
wide open, no condition… I inserted a field query into my message, it returns “False;False” when the credit card box is checked and “False;True” when the credit card box is unchecked.
Looks like false is the value you are looking for.
Sounds like a bug too.
This method takes a parameter of boolean (true / false) to make the change the dataset isn’t changed yet. Change your condition to check the variable
ipCreditCardOrder == true
instead
In order words, the call to this method itself changes the order to creditcard (true) from creditcard (false) so checking the data set is always going to be one step behind. INstead check the input parameter to that method in your con dition.
In the Kinetic Screen you see these params in the Advanced Section of Method Directive
Jose, I appreciate your input, but it’s a bit beyond my skills. I see where the params as you describe, but I don’t know how to use it. I tried adding a condition widget to the BPM and adding Condition 1 as "The specified argument/variable is equal to the specified expression’. I select the ip.creditcardorder as the variable and use true as the expression and get errors.
Instead of using the condition type “field has changed from any to another” you need to use the “specified argument/variable is equal to”. If you do this on a pre-processing you can check whether the variable is true:
this worked when I used the Kinetic Browser version rather than the smart client.