web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :

Dynamics 365: Real Time Workflow Bug

AjitPatra Profile Picture AjitPatra 469

Recently, we figured out a strange issue with the Real time workflow while designing it.

We had designed a workflow on Phone Call entity, which was supposed to run when record status changes as well as on update of few fields on Phone Call. We had selected Execute as the owner of the workflow as we were updating some entities on which user was not having any permission. Below is the screenshot:

WF_1

Then, we activated it and it started working without any problem.

WF_2

Later, we figured out that this workflow needs to run on update of few more fields on the Phone Call entity. So, we deactivated it and selected the required fields.

WF_3

Before we activated it, we verified that Execute as is still selected as The owner of workflow. However, when we activated it the selection was changed to The user who made changes to the record.

WF_4

We had not noticed this change of selection until we saw that the workflow is failing to update the records on which the user was missing permission.

So, we deactivated the workflow again and selected Execute as the owner of the workflow manually(by selecting the 2nd option and then the 1st). Then, activated the workflow.

WF_5

Then it started working fine.

So, after making any changes to the workflow in Start When section(highlighted below), it’s better to make the selection manually to Execute as the Owner or the User based on the business requirement.

WF_6

Hope it helps !!


This was originally posted here.

Comments

*This post is locked for comments