IBM Support

IV16268: CANNOT CHANGE STATUS ON A PURCHASE CONTRACT IN WF WITHOUT HAVING SECURITY GROUP RIGHTS TO CHANGE THE STATUS.

 

APAR status

  • Closed as program error.

Error description

  • Cannot Change Status on a Purchase Contract in WF without having
    Security Group rights to change the status.
    You should not get those errors.  WF is designed to ignore
    Security Groups and allow you to change status or
    whatever without having the corresponding rights.
    
    Problem Details
    
    We are currently in Maximo 6.2.5 and are working on migrating to
    Maximo 7.5.  We have workflows that do status changes
    that the people who are pushing the button don't
    have the security for.  For example in our
    Purchase Contract workflow.  The buyer doesn't have approve
    contract,
    however when they route it through workflow it does a change
    status to
    approve.  In 7.5 we are now getting the error: You are not
    authorized to perform this action for this record.
    
    
    I reproduced this on my VM running 7.5.0.0.
    
    I escalated this to L3 who said to create this APAR.
    This has been fixed many times before  such as in Issues
    09-12497 and
    10-13298.
    
    
    Steps to replicate
    
    1. In Security Groups remove Approve from the Purchase Contracts
       (Purchview) app.
    2. Create a simple WF process for Purchase Contracts with these
       nodes:
    
         Start--->Task----(approve action)---->Stop
    
    3. On the Task node Assign it to Originator.
    4. On the Arrow leaving the Task enter a new Action that you
       create:
       Object: Purchase Contracts
       Type:   Changestatus
       Value:  Appr
    5. Save, Enable and Activate the WF process.
    6. Click ok when if it tells you to add WF support to Purchase
       Contracts.
       If you do have to add support you will need to logout of
       Maximo and
       Log back in to see the WF tools added to Purchase Contracts.
    7. In the Purchase Contracts app create a new record.
    8. Start it into WF.
    9. Click Route WF to Complete the Assignment which will Approve
       the record.
    10. When you click on OK on the Complete Assignment dialog you
        get these  errors:
    
    
    BMXAA0776E - Could not change contract 1042DPC status to APPR.
    BMXAA0029E - You are not authorized to perform this action for
    this record.
    
    
    You should not get those errors.  WF is designed to ignore
    Security Groups and allow you to change status or
    whatever without having the corresponding rights.
    

Local fix

  • (none)
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Contract with workflow              *
    ****************************************************************
    * PROBLEM DESCRIPTION: Cannot Change Status on a Purchase      *
    *                      Contract in WF without having Security  *
    *                      Group rights to change the status.      *
    *                                                              *
    *                                                              *
    *                                                              *
    *                                                              *
    *                                                              *
    *                      Steps to replicate                      *
    *                                                              *
    *                      1. In Security Groups remove Approve    *
    *                      from the Purchase Contracts (Purchview) *
    *                      app.                                    *
    *                                                              *
    *                      2. Create a simple WF process for       *
    *                      Purchase Contracts with these nodes:    *
    *                                                              *
    *                      Start--->Task----(approve               *
    *                      action)---->Stop                        *
    *                                                              *
    *                      3. On the Task node Assign it to        *
    *                      Originator.                             *
    *                                                              *
    *                      4. On the Arrow leaving the Task enter  *
    *                      a new Action that you create:           *
    *                                                              *
    *                      Object: Purchase Contracts              *
    *                                                              *
    *                      Type:   Changestatus                    *
    *                                                              *
    *                      Value:  Appr                            *
    *                                                              *
    *                      5. Save, Enable and Activate the WF     *
    *                      process.                                *
    *                                                              *
    *                      6. Click ok when if it tells you to add *
    *                      WF support to Purchase Contracts.       *
    *                                                              *
    *                      If you do have to add support you will  *
    *                      need to logout of Maximo and Log back   *
    *                      in to see the WF tools added to         *
    *                      Purchase Contracts.                     *
    *                                                              *
    *                      7. In the Purchase Contracts app create *
    *                      a new record.                           *
    *                                                              *
    *                      8. Start it into WF.                    *
    *                                                              *
    *                      9. Click Route WF to Complete the       *
    *                      Assignment which will Approve the       *
    *                      record.                                 *
    *                                                              *
    *                      10. When you click on OK on the         *
    *                      Complete Assignment dialog you get      *
    *                      these  errors:                          *
    *                                                              *
    *                                                              *
    *                                                              *
    *                                                              *
    *                                                              *
    *                      BMXAA0776E - Could not change contract  *
    *                      1042DPC status to APPR.                 *
    *                                                              *
    *                      BMXAA0029E - You are not authorized to  *
    *                      perform this action for this record.    *
    *                                                              *
    *                                                              *
    *                                                              *
    *                                                              *
    *                                                              *
    *                      You should not get those errors.  WF is *
    *                      designed to ignore Security Groups and  *
    *                      allow you to change status or whatever  *
    *                      without having the corresponding        *
    *                      rights.                                 *
    *                                                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    *                                                              *
    *                                                              *
    *                                                              *
    ****************************************************************
    Cannot Change Status on a Purchase Contract in WF without
    having Security Group rights to change the status.
    

Problem conclusion

  • The fix for this APAR is contained in the following maintenance
    package:
    
      REL 7.5.0.3 - BS
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV16268

  • Reported component name

    WORK & MTRL APP

  • Reported component ID

    TIVOWRKMM

  • Reported release

    750

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2012-02-28

  • Closed date

    2012-03-19

  • Last modified date

    2012-03-19

  • 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

    WORK & MTRL APP

  • Fixed component ID

    TIVOWRKMM

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:
19 March 2012