Question

Read custom section from auto-generated page

How do I read data from an auto-generated page?

I created a Request Type, which has request text and criteria for follow up.  For example, the "Qualify a supplier" type has "Supplier Required" set to true. I use an auto-generated form to get a Request Type selection from the user.  How do I get the "Supplier Required" field for the Request Type that they selected, so that I can ask the user to select an Account to include in the request? The flow below isn't working correctly. [#Read Requires Supplier.First item of resulting collection.Requires Supplier#] for the Supplier Required flow condition is never true.

Like 0

Like

4 comments

Hello.

You can use the conditional flows in case you plan to compare the values within the process. In case you want to transfer it further you can use the formula element:

https://academy.bpmonline.com/documents/technic-bpms/7-13/formula-proce…

Best regards,

Matt

I think the problem may be that you use just

[#Read Requires Supplier.First item of resulting collection.Requires Supplier#]



in the conditions. You probably want:

[#Read Requires Supplier.First item of resulting collection.Requires Supplier#] == true

This behaviour is frankly confusing.

The conditional flow only reads the Button of the, not the Request Type object nor Requires Supplier boolean.  There's no way to tell the flow to use a different part of the element.

[#Read Requires Supplier.First item of resulting collection.Requires Supplier#] == true is the evaluation I use.  I've also tried putting Requires Supplier into a parameter with a function, then trying to read data from that, but it's not working either.

I finally figured out that I can read data to get the Request Type, then use a formula to get Requires Supplier from the Read Data element by putting it into a parameter.

Show all comments