Question

Async and wait methods not working in Pega 1080 version

Hello folks,

I have a requirement where I should wait for the time till an email is being sent by exchange server and wait till it gets delivered. I implemented it using the Async and Wait method in c#. When I added the code in my c# script and made it to run, it doesn't work. Is that 1080 does not support async and wait method of c#?

Or can anyone tell me an approach to implement the above requirement?

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

Pega
April 7, 2018 - 12:05am

If you have written a piece of code through a C# project, you can import the code as a dll to your Pega Robotics project and reference the methods in a script component. I am not sure if the async and wait features are available through the C# script component but this route may let you do what you are trying to accomplish.

When you say version 8.0.1080 can't do this, are you suggesting that you were able to execute the code successfully through earlier versions of Pega Robotics?