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

Workflow with custom Action blocks Business Process Flow

$
0
0

Hi,

I have an issue with a Background Workflow and a Business Process Flow.

Context:

  • 2 Custom Entity A and B
  •  A Custom Action (CA1) on Entity A with 1 optional parameter
  • A Business Process Flow (BPF1) on Entity B with no Global Workflow and no Workflow on the different Stages.
  • A Background Workflow (BW1) on Entity B set to start when Record status changes:
    • if Entity B Status Reason equals Deactivate, then execute Action CA1

Observed behavior:

If BW1 is active:

  • I cannot move to the next stage with the BPF1
  • When I manually deactivate an Entity B record, BW1 is successfully executed

BW1 is deactivated:

  • I can move to the next stage with BPF1

If I remove the Action CA1 from the Workflow BW1 and activate it, then I can move to the next stage with BPF1.
If I add a different Action (1 activity: send an email) to BW1, I get the same behavior.

Clearly, the issue comes from having Actions in a Background Workflow.
I don't know if it is a bug or if it comes from my environment, so I would like to know if somebody else can reproduce the behavior.

Thanks


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images