cancel
Showing results for 
Search instead for 
Did you mean: 

How to delete or move several mails in the Cloud Studio?

former_member690796
Participant
0 Kudos

Hey everyone,

somehow the forever loop in combination with the "search email" activity as explained in this blog post https://blogs.sap.com/2020/12/15/sap-intelligent-rpa-2.0-explore-outlook-features/ does not work if you use "delete email" or "move email" activity.

When adding move email in the default branch with the activity “Get Next Email Item in Context” the forever loop will end even though only one of the two emails was processed.

When adding move email in the default branch without the activity “Get Next Email Item in Context” the forever loop will process again and again the first email of the context and will never start the forever loop activities for the second email.

Is there another solution to move/delete several emails in the cloud studio or is it a bug that needs to be fixed?

Beste regards,

Lars

Accepted Solutions (0)

Answers (3)

Answers (3)

Chaitanya_Priya
Product and Topic Expert
Product and Topic Expert

As mentioned in the previous reply,

Move Email or Delete Email activities change the Context collection. If you want to move/delete multiple emails, please have a look at the documentation.

Please check the workflow to use the Move/Delete Email Activity.

I was able to move multiple emails.

former_member690796
Participant
0 Kudos

Thanks for helping me out thousif_10 and chaitanyapriya.puvvada! It is working now 😄

former_member717738
Participant
0 Kudos

Hi Lars,

Usually move email or delete email activity change the context collection. Please go through this https://help.sap.com/viewer/8e71b41b9ea043c8bccee01a10d6ba72/Cloud/en-US/78bbfb8cd7184f428fa21d9d3b9... for deletion of multiple emails in outlook.

Br,

Thousif.