question

Kari Payton avatar image
0 Likes"
Kari Payton asked Matt Long converted comment to answer

Subflow quantity not reading label from token.

I assigned a number of operators based on man-hours needed for the process. In an assign box I have divided the total number of man hours by 12 and use "ceil" to round the number up. So the label "finishingOps" looks like

ceil(getlabel(token, "totalManHours") / 12) 

The token then moves to a subflow where I want to get the quantity from the label "finishingOps". I know the value is placed on the label because the token reads finishingOps 13.0000 when I click on it. But the subflow stops once it reaches this step.

Choose One
labelssubflow
displayvalue2.png (16.9 KiB)
· 4
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Sam Stubbs avatar image Sam Stubbs ♦ commented ·

Is there a chance we could see your model? It would be easier for us to troubleshoot if we can run it ourselves. (IF it contains sensitive information you can post it in a private question.)

0 Likes 0 ·
Matt Long avatar image Matt Long commented ·

What do you mean by "stops"? Are any tokens created in the sub flow? If the getlabel() were to return 0, the token would immediately move to the next activity. If it's non-zero then you should see tokens in the sub flow.

0 Likes 0 ·
Kari Payton avatar image Kari Payton Matt Long commented ·

I mean that it doesn't move tokens through the sub flow. If I replace getlabel() with a number 13, I see tokens moving in the sub flow

0 Likes 0 ·
Matt Long avatar image Matt Long Kari Payton commented ·

Do you have the same result when using the Label: syntax?

Label: finishingOps
0 Likes 0 ·

1 Answer

·
Kari Payton avatar image
0 Likes"
Kari Payton answered

@Sam Stubbs @Matt Long I didn't have the subflow connected so that it could move on to the next activity. I couldn't see tokens moving because the run speed was high so I only saw the token when it stopped moving through the overall process-flow. It's working now. Sorry!

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.