Microsoft.Activities 1.0.1 replacement in Windows compatibility projects

Sometime I need to use RetryScope activity in my projects.
It requires an activity in the Condition section.
There I use Expressions activities from Microsoft.Activities 1.0.1 package to evaluate the retry condition - like IsTrue, IsFalse, IsEqual etc.

image

Unfortunately Microsoft.Activities 1.0.1 is not available in Windows compatibility.
Is there an alternative for Microsoft.Activities 1.0.1?

Thx

HI,

How about to use CheckTrue or CheckFalse at the end of Action area as the following?

image

Regards,

2 Likes

The CheckTrue activity will raise an exception which is not the same what IsTrue activity does.

But the thruth is that RetryScope might be replaced by DoWhile. That is effectively missing only the RetryInterval parameter.

Cheers

The RetryScope doesn’t require an activity in the Condition. I don’t use to provide any anyway. So what @Yoichi suggested should give you the same result.

Also agree to

with the retryScope logic when moving it to the Action body a retry will be done when CheckTrue will raise the exception

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.