Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 55831

Possible real-time workflow bug?

$
0
0

Scenario: CRM 2013 SP1 UR1 on-prem, no IFD, custom entity.

Business requirement 1: The record needs a custom title depending on the information entered.

Solution 1: One real-time workflow (CW1) firing on record Create. It looks at Field 1 and depending on the value it updates the Title field.

Business requirement 2: The form has 2 fields that are option sets (call them fields A1 and B1) and 2 fields that are yes/no fields (call them fields C1 and D1). If user changes the value of the field, the business requirement is to record who changed it.

Solution 2: Four real-time workflows firing on the change of those fields. The value is recorded in a dedicated field for each.

  • When the user changes the value in field A1, workflow A updates the record field A2 with the "Modified By" value and field A3 with the "Modified On" value.
  • When a user changes the value in field B1, workflow B updates the record field B2 and B3.
  • When a user changes the value in field C1, workflow C updates the record field C2 and C3.
  • When a user changes the value in field D1, workflow D updates the record field D2 and D3.

Problem: When all 5 real-time workflows are active, and a new record is saved, the Create workflow (W1) cancels reporting an infinte loop. If I disable any 2 of the UW workflows, everthing is fine.

Here is what I have verified:

  • No form javascript
  • No Business Rules
  • No plugins
  • No other workflows running (real-time or background)
  • Create workflow CW1 only evaluates field F1 and only updates Title field. No other fields are updated.
  • Workflow A only updates fields A2 and A3. No other fields are updated.
  • Workflow B only updates fields B2 and B3. No other fields are updated.
  • Workflow C only updates fields C2 and C3. No other fields are updated.
  • Workflow D only updates fields D2 and D3. No other fields are updated.

I am working on getting access to do traces. Until that happens, are there any troubleshooting tips or suggestions on what else might be causing this? Anyone seen anything similar to this?


Viewing all articles
Browse latest Browse all 55831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>