Jump to content

BPM Decision Fails.


AndyHill
 Share

Recommended Posts

Is there anyway to overcome the below decision failure or any sort of decision failure within the Manage Executed Processes screen?

Status : Failed

Last Updated On : 14:49 21-09-2020
decision ("stage-d944dbd8-cf8a-4bcc-8765-079e1096a8c6"/"decision-90dd41d3-2fde-4431-3826-789e3faad6bc") execute: at 1/51: "Uncaught Global::GetApprovalResult: unable to find node: "approval-125fc98e"" (function(){ var outcome=false;var res = functions.getApprovalResult(global["currentStage"],"approval-125fc98e"); global["outputParams"]["tmp"]=res["result"];if(res["result"]==1) {outcome = "approved";}else if(res["result"]==2) {outcome = "expired";}else if(res["result"]==3) {outcome = "tentative";}else if(res["result"]==0) {outcome = "rejected";} global["outputParams"]["res"]=outcome;" ---------------------------------------- (function(){ var outcome=false;var res = functions.getApprovalResult(global["currentStage"],"approval-125fc98e"); global["outputParams"]["tmp"]=res["result"];if(res["result"]==1) {outcome = "approved";}else if(res["result"]==2) {outcome = "expired";}else if(res["result"]==3) {outcome = "tentative";}else if(res["result"]==0) {outcome = "rejected";} global["outputParams"]["res"]=outcome; return [(outcome== "rejected") == true,(outcome== "approved") == true]; })()

 

image.png.1896d450296341d837a058160e142350.png

Link to comment
Share on other sites

Hi Andy,

if the failure is due to the conditions within the branches i.e. a "No matching GoTo If" error, this can be fixed via the Manage Executed Processes screen.

However, the error you've posted isn't a "No Matching GoTo If". The first thing that needs to be done is identify why its failed. 

The screen shot also looks a little odd in that you have two inbound arrows to that decision node (which isn't possible) and the nodes upstream seem identical. This looks like a rendering issue with the Managed Executed Process canvas.

As you have a Premier Support plan, I recommend raising this with our application support team so they can look at this further.

Thanks,
Dan

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
 Share

×
×
  • Create New...