Is there a way to do an "or" statement as part of this expression?
Original "IF" expression:
If(equals(outputs('Get_response_details')?['body/r47fb301111e74dc4b0abe7bd26b23e11'],'deactivate a course'),null,' deep link’)
Would like the expression to equal 'deactivate a course' OR 'update attendance' in this expression. Is that possible?
Is there a way to do an "or" statement as part of this expression we just created?
If(equals(outputs('Get_response_details')?['body/r47fb301111e74dc4b0abe7bd26b23e11'],'deactivate a course, OR update attendance'),null,' deep link’)
d(-_-)b
King of Solutions. Huzzah!!
My fault. I threw an extra comma in there because of the JD n Coke..
It should be:
If(
or(
equals(
outputs('Get_response_details')?['body/r47fb301111e74dc4b0abe7bd26b23e11'],
'deactivate a course'
),
equals(
outputs('Get_response_details')?['body/r47fb301111e74dc4b0abe7bd26b23e11'],
'update attendance'
)
),
null,
'deep link'
)
Have a great weekend!
Tried it copy and paste, then typed it in, it keep saying invalid expression. It's late in the day here, I could be not doing something right, and it's Friday. I'll try again next week and maybe bug you again? Enjoy your weekend, and thanks again!!
Back so soon?!?!
Try this:
If(
or(
equals(
outputs('Get_response_details')?['body/r47fb301111e74dc4b0abe7bd26b23e11'],
'deactivate a course'
),
equals(
outputs('Get_response_details')?['body/r47fb301111e74dc4b0abe7bd26b23e11'],
'update attendance'
),
),
null,
'deep link'
)