Martyn Houghton Posted April 15, 2020 Share Posted April 15, 2020 Can we raise an enhancement to add the 'in' criteria to the BPM Custom Expression capabilities on the Decision node, where by we can use one expression to specify multiple literal values rather than having to enter multiple individual expressions joined by 'or'. Cheers Martyn 1 Link to comment Share on other sites More sharing options...
Guest Ehsan Posted April 15, 2020 Share Posted April 15, 2020 @Martyn Houghton, You can add multiple OR conditions to the expression builder, as below to achieve this. So in your example, the conditions of the expression would read: Owner (For Tasks) == MartynH OR Owner (For Tasks) == AlanC. Link to comment Share on other sites More sharing options...
Martyn Houghton Posted April 15, 2020 Author Share Posted April 15, 2020 @Ehsan It is the large number of 'OR' conditions I have already I was proposing the the enhancement to replace. Cheers Martyn Link to comment Share on other sites More sharing options...
NeilWJ Posted April 15, 2020 Share Posted April 15, 2020 Hi Martyn, So all you need is:- (Some variable) IS IN [staticvalue1,staticvalue2,staticvalue3] (Some variable) IS NOT IN [staticvalue1,staticvalue2,staticvalue3] Should be able to add that in. I will add it to list. Cheers 1 Link to comment Share on other sites More sharing options...
Guest Ehsan Posted April 15, 2020 Share Posted April 15, 2020 @Martyn Houghton, It must be hay-fever season already since I missed those key words . As above, it's been added to the list. Ehsan Link to comment Share on other sites More sharing options...
Alberto M Posted April 16, 2020 Share Posted April 16, 2020 YES!!!! No more spending hours on this, when I need to change or add something! Thanks, @Martyn Houghton. I was on my way to request this but you anticipated it. 1 Link to comment Share on other sites More sharing options...
Guest Ehsan Posted April 16, 2020 Share Posted April 16, 2020 @Martyn Houghton @Alberto M, I am pleased to inform you that this change has now been implemented and is in the testing phase. Please look out for this in the next update to the Admin Tool. Ehsan Link to comment Share on other sites More sharing options...
samwoo Posted April 16, 2020 Share Posted April 16, 2020 50 minutes ago, Alberto M said: YES!!!! No more spending hours on this, when I need to change or add something! Thanks, @Martyn Houghton. I was on my way to request this but you anticipated it. - the coming change is a definite improvement to your configuration lol! One that I can benefit from too. Link to comment Share on other sites More sharing options...
NeilWJ Posted April 16, 2020 Share Posted April 16, 2020 lol i just had to redo that change to make it even more compact after seeing that screenshot...so this is what the changed ui is. At least only have to select the var to test once. 2 Link to comment Share on other sites More sharing options...
samwoo Posted April 16, 2020 Share Posted April 16, 2020 2 minutes ago, NeilWJ said: lol i just had to redo that change to make it even more compact after seeing that screenshot...so this is what the changed ui is. At least only have to select the var to test once. Nice one!! That looks even better! Just to note i had to check each word in your screenshot just to make sure... Does this also allow for wildcards? 1 Link to comment Share on other sites More sharing options...
NeilWJ Posted April 16, 2020 Share Posted April 16, 2020 @samwoo , There are the "starts with", "ends width" and "contains" operators. I can modify those operators to support an array of values. So you say you had a var called probSummary you could do:- if probSummary starts with (abc ,rgh , yui) then which when expanded does something like:- if (probSummary == "abc%" || probSummary == "rgh%" || probSummary == "yui%" ) then and same for ends with or contains. I will add it in. Cheers 1 Link to comment Share on other sites More sharing options...
samwoo Posted April 16, 2020 Share Posted April 16, 2020 Nice one @NeilWJ - this will make lives a lot easier, most defintiely in @Alberto M's case lol! 2 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now