You are viewing limited content. For full access, please sign in.

Question

Question

Update: Using form values to do Multiply in workflow (For Each Row not working)

asked on August 20, 2021 Show version history

Scenario: I have a user request certain types of workstation for their new staff they enter in the following information:

In the next form, I want to check if I have these items in stock but this is the result I am getting:

What I want is:

Workflow Design

0 0

Replies

replied on August 20, 2021

Since you are using workflow, I would approach it the following way:

  1. Add a global Assigned Inventory multi-token variable.
  2. Add a For Each Row that targets the rows in each of your item tables. Within the for each row, you will add a repeat loop that repeats until quantity is reached. Within your repeat, you will Append the Part name to the multi-value variable we made outside of all the loops.
  3. Do the above for each of your tables since you have multiple.
  4. Push the multi value token back into the variable used for the Assigned Inventory table at the bottom with the Set variables activity
2 0
replied on August 20, 2021

Can this be done in LF Forms?

 

So I should create the multi-token value for each table I have in form and recreate the for each repeat for each table?

 

0 0
replied on August 31, 2021

I was able to get the loop working but for some reason its repeating everything in the table and the for each row isnt working, but I think I have everything configured correctly?

My For reach row targeting the table

Number of Repititions

Append the value

 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.