Hi,
I have a flow that obtains an employee's ID by taking their email input. I want that when an employee fills in their email, the ID field is automatically filled up. I have something similar for when an employee inputs their email, the manager field is filled out:
//In Default
If(
!IsError(Office365Users.Manager(Email.Text).Mail), Office365Users.Manager(Email.Text).Mail,
""
)
This works, however, when I try to do this for Employee ID field, I get a warning saying "Behavior function in a non-behavior property. You can't use this property to change values elsewhere in the app":
//In Default
If(
!IsError(testflow.Run(Email.Text, Email.Text).employeeid), testflow.Run(Email.Text, Email.Text).employeeid,
""
)
//testflow.Run(first param: IntializeVaraible_Value, vEmail_Value)
Anyone know any work arounds to this? It could also be how I built my flow making it more difficult? (I'm new to power automate just scratched up and made this pretty fast, and I know it works though through testing).
Thanks, in advanced!