Share via

How to write uipath if expression in power automate desktop

Aggarwal, Neha 20 Reputation points
2026-02-16T07:17:05.08+00:00

Hi ,

I want to write below UiPath if condition into power automate desktop

terms. Contains("opt") or warning=true

this if condition I have to replicate in PAD.

Community Center | Not monitored
0 comments No comments
{count} votes

Answer accepted by question author
  1. Q&A Assist
    2026-02-16T07:17:12.7133333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To replicate the UiPath condition terms.Contains("opt") or warning=true in Power Automate Desktop (PAD), you can use the If action with a logical expression. In PAD, you would set up your condition using the OR operator to check both conditions. Here’s how you can do it:

    1. Add an If Action: Drag the If action into your flow.
    2. Set the Condition: In the condition field, you can write a logical expression that checks if terms contains "opt" or if warning is true. The expression would look like this: %contains(terms, 'opt') or warning = true% Here, contains(terms, 'opt') checks if the string terms contains the substring "opt", and warning = true checks if the variable warning is true.
    3. Define Actions: Inside the If block, you can define the actions that should be executed if the condition evaluates to true.

    This approach allows you to effectively translate the UiPath condition into Power Automate Desktop using logical expressions.


    References:

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.