Apr 04 2022 09:40 AM
Hi all, I have a question
I created a flow that creates item in a list from submitted form.
Is it possible to setup the flow to create item in different list base on form submitter's department? (department field in AD)
For example:
There is a payment request form. John is marketing department, and Peter is sales department
When john submit the payment request form
Flow creates an item in "Marketing department payment request list"
When peter submit the payment request form
Flow creates an item in the "Sales department payment request list"
If yes, how?
If, not then, of course I can just create 2 forms and 2 flows.
Apr 06 2022 11:15 PM
Apr 07 2022 12:51 AM
@RandolphLES @jonlake rather than a normal set of nested conditions, as there are likely to be several departments I would use a Switch which is a type of condition that looks at just one answer and can have up to 27 "cases" - in case department Payments is selected then add item to Payments list. An example of a switch but with different actions in the case is shown below.
Rob
Los Gallardos
Microsoft Power Automate Community Super User
Apr 07 2022 12:57 AM
Apr 08 2022 10:06 AM
Apr 08 2022 10:21 AM
Apr 11 2022 11:43 AM
Hi @RandolphLES , using a switch action would be if you're targeting multiple lists.