IBM Support

IV77628: UNIQUE CONSTRAINT ERROR WHEN TRYING TO SAVE A WORKFLOW REVISION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment:
    ------------
    TPAE 7.5.0.4
    MS SQL Server
    
    Description:
    ------------
    Unique Constraint error when trying to save a workflow revision
    
    Performance Issue: No
    ------------------
    
    Steps to replicate:
    -------------------
    Go to System Configuration -> Platform Configuration ->
    Workflow Designer
    Create a new WF process, TESTEWF, on object SR (could be any
    but we used the same object as the customer)
    
    Add a positive line between the start and stop nodes
    
    Start ------------------> Stop
    
    On the connector line between Start and Stop open up the
    properties and add an action like Change status (e.g. SR
    INPROG).
    
    In Notifications section of the Action Properties dialog add a
    new row
    In communication template field choose to go to Commnication
    Templates
    Create a new template: 1018
    Applies to: SR
    Sent From: maxadmin
    Subject: test
    On Recipients tab, persons for communication template section
    add a new row
    Person: wilson
    Check the To? checkbox
    Save and activate the template
    Return with value
    
    Click ok to close the Action Properties dialog
    Save, enable and activate the workflow
    
    From select Action menu choose Create Process Revision
    
    Click Save and you will get the unique constraint exception as:
    
    BMXAA4211E - Database error number 2601 has occurred when
    operating on WFNOTIFICATION : Process=TESTEWF Process
    Revision=2 Unique ID=1. Report the error to the owner of the
    deployment.
    
    Expected Result: The revision should be saved
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All Maximo users                                             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Unique constraint error when trying to save a workflow       *
    * revision                                                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply fixpack release 7.6.0.3 or 7.5.0.10 of TPAE or request *
    * an interim fix                                               *
    ****************************************************************
    

Problem conclusion

  • Able to save workflow revision without unique contraint error
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV77628

  • Reported component name

    SYSTEM CONFIG

  • Reported component ID

    5724R46S1

  • Reported release

    750

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-10-01

  • Closed date

    2015-10-29

  • Last modified date

    2015-10-29

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Modules/Macros

  • MAXIMO
    

Fix information

  • Fixed component name

    SYSTEM CONFIG

  • Fixed component ID

    5724R46S1

Applicable component levels

  • R750 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"750","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
29 October 2015