SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 46429: You cannot restart a case workflow in SAS® Enterprise Case Management

DetailsHotfixAboutRate It

When you work with a case in SAS Enterprise Case Management, you might want to restart the workflow for the case. But, there is no way to restart the workflow. For example, you might make a mistake by setting an activity status to an incorrect value, which causes a workflow transition. The case workflow is now incorrect, but you cannot restart the workflow. The only workaround is to create a new case.

Click the Hot Fix tab in this note to access the hot fix for this issue.

After you apply the hot fix, two new Custom Page Builder components are included. These two components enable you to stop the workflow for a case and to start a new workflow for a case. The two new components can be added to your case screen definition. The components are called WorkflowActivationComponent and WorkflowTerminationComponent.

Here is an example of how you might incorporate these components into the Activities section of your case screen definition:

<section id="Activities" expanded="true"> <label><message key="section.action.items.header.txt" /></label> <if test="IsEntitySaved()"> <if test="not IsCaseWorkflowActive()"> <field name="TEMP.WF_NAME" type="dropdown" values="GetLabelValues('X_RT_REOPEN_WF')"> <label>Choose Workflow to Open:</label> </field> <field name="TEMP.WORKFLOW_ACTIVATION" type="component" component-name="WorkflowActivationComponent"> <label>Activate Workflow</label> <param name="workflowNameField" value="'TEMP.WF_NAME'"/> </field> </if> <if test="IsCaseWorkflowActive()"> <field name="TEMP.WorkflowActivities type="component" component-name="WorkflowActivities" " /> <field name="TEMP.WORKFLOW_TERMINATION" type="component" component-name="WorkflowTerminationComponent"> <label>Terminate Workflow</label> <param name="newStatus" value="'C'" /> </field> </if> </if> </section>


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Enterprise Case ManagementMicrosoft® Windows® for x642.33.19.2 TS2M39.3 TS1M1
Microsoft Windows Server 2003 Datacenter Edition2.33.19.2 TS2M39.3 TS1M1
Microsoft Windows Server 2003 Enterprise Edition2.33.19.2 TS2M39.3 TS1M1
Microsoft Windows Server 2003 Standard Edition2.33.19.2 TS2M39.3 TS1M1
Microsoft Windows Server 2003 for x642.33.19.2 TS2M39.3 TS1M1
Microsoft Windows Server 20082.33.19.2 TS2M39.3 TS1M1
Microsoft Windows Server 2008 for x642.33.19.2 TS2M39.3 TS1M1
Microsoft Windows XP Professional2.33.19.2 TS2M39.3 TS1M1
Windows 7 Enterprise 32 bit2.33.19.2 TS2M39.3 TS1M1
Windows 7 Enterprise x642.33.19.2 TS2M39.3 TS1M1
Windows 7 Home Premium 32 bit2.33.19.2 TS2M39.3 TS1M1
Windows 7 Home Premium x642.33.19.2 TS2M39.3 TS1M1
Windows 7 Professional 32 bit2.33.19.2 TS2M39.3 TS1M1
Windows 7 Professional x642.33.19.2 TS2M39.3 TS1M1
Windows 7 Ultimate 32 bit2.33.19.2 TS2M39.3 TS1M1
Windows 7 Ultimate x642.33.19.2 TS2M39.3 TS1M1
Windows Vista2.33.19.2 TS2M39.3 TS1M1
Windows Vista for x642.33.19.2 TS2M39.3 TS1M1
64-bit Enabled AIX2.33.19.2 TS2M39.3 TS1M1
64-bit Enabled Solaris2.33.19.2 TS2M39.3 TS1M1
HP-UX IPF2.33.19.2 TS2M39.3 TS1M1
Linux for x642.33.19.2 TS2M39.3 TS1M1
Solaris for x642.33.19.2 TS2M39.3 TS1M1
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.