I am trying to build a reactive flow screen
I have added picklist component (Approval_Options) to the screen. Its choices are Approve_with_Change and Approve_with_Nochange I have also added a user lookup component on the same screen. Based on what users select on the picklist , I want to set the default value of the user lookup field.
I tried to create a formula and use that in default value. But I cant seem to find right way of creating the formula
I have tried things like
IF({!Approval_Options} = {!Approve_With_Change} ,'user1id','user2id')
Also tried to use ISPICKVAL and TEXT but it gives an error saying 'The formula expression is invalid: Incorrect parameter type for function 'ISPICKVAL()'. Expected Picklist, received Text' OR 'The formula expression is invalid: Incorrect parameter type for function 'TEXT()'. Expected Number, Date, DateTime, Picklist, received Text'
Is there anything I am missing here ? OR flow builder doesnt allow us to use picklist components on formulas ?