Jump to content



Recommended Posts

I have a problem in a BPM where a decision wont behave as expected (it did when first built but not correctly over the past couple of days)

I have a decision with the following Expression 


The alternative one which == Rejected works but when the Custom Field A is left blank the above Goto will not fire. Am I missing something?

Link to comment
Share on other sites

Hi @Kelvin

Thanks for your post.

What are all the possibilities that can be stored in Custom Field A?  Rejected, Accepted, and blank?  Is there a use case for someone leaving it blank?  On your decision node, are you using a 'No Match' option as well?  For now, I was thinking that you could try and add multiple custom expressions in the above Goto if for each possible value for Custom Field A excluding Rejected.  Then create a 'No Match' branch which should be picked up when the Custom Field A is blank.

We can also do some tests around the !=Rejected in case there is some reason that a null or blank value is not recognised by this.


Link to comment
Share on other sites

Hi Guys,

The conditions are tested in a javascript engine that the BPM server uses. The problem here is that the SM flowcode used to get Custom Field A is not actually populating the output param 'Custom Field A' because it is empty. As such there is actually no field to test so the BPM engine can't reference it.

@Kelvin You could modify your condition to add an OR statement and use the  "is not set" operator. So you are then testing:-


Or as @DeadMeatGF suggests just use the No Match because by the sounds you are only testing for 1 value:-

IF Rejected THEN go to a node ELSE  go to another node. 

The ELSE being what a no match does. 


  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...