Condividi tramite


ReleaseUpdateDB60_Basic.updateWorkflow Upgrade Script

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

Class

ReleaseUpdateDB60_Basic

Method

updateWorkflow

Description

Sets the version for all records in the SysWorkflowTable table toMicrosoft Dynamics AX 2009. This will let runtime know that these are in-flight Microsoft Dynamics AX 2009 workflow instances.

Affected Modules and Tables

Affected Modules

Basic

Affected Tables

SysWorkflowTable

Remarks

The SysWorkflowTable represents running workflows. During upgrade, if there are any records in this table ,it indicates in-flight workflow instances. After the upgrade is complete, there could be new Microsoft Dynamics AX 2012 workflow instances in this table. By setting the version to Microsoft Dynamics AX 2009 during the upgrade, runtime will know which running instances were triggered from the Microsoft Dynamics AX 2009 configurations and after, and follow a different code path to complete executing the workflow to completion.

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

SysWorkflowTable

Version