IBM Support

IJ33585: REST POST CALL MADE TO THE STOP WORKFLOW NODE RETURNS WITH "SYSTEM#INVALIDFETCH" ERROR.

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • DESCRIPTION: A REST call for the workflow STOP node gives back
    400 status code with "system#invalidfetch" message in the
    response.
    
    
    STEPS TO REPRODUCE:
    
    (A) Pre-reqs: Prepare a workflow, then validate, enable and
    activate it.
    
    
    (B) Perform REST Queries to see the issue
    
    (1) Make a REST GET Request
    GET URL
    http://localhost:9080/maximo/oslc/os/mxapiwfassignment?_lid=max
    admin&_lpwd=maxadmin&oslc.select=*&lean=1&oslc.where=ownertable
    ="SR"&oslc.where=owner="maxadmin"
    RESPONSE
    Observe the workflow is at the TASK 5 node and it shows in the
    response 1 positive line to INPUT 7 Node and 1 negative line to
    INTERACTION 9 Node along with href link
    
    (2) Perform a POST call using the href link with
    action=wsmethod:completeAssignment
    POST
    http://localhost:9080/maximo/oslc/os/mxapiwfassignment/_NjkvNS9
    TUl9XRkxPVzEyLzEvMjg0?action=wsmethod:completeAssignment   HEADE
           x-method-override: PATCH
       BODY
           {
               "memo":"some memo",
               "accepted":true
           }
    
    RESPONSE
    Observe there are 2 actions shown here in the Response body,
    Both positive. 1 for INPUT 8 and another for INTERACTION 9.
    And the response headers contain some parameters along with a
    url shown in the parameter called Location.
    
    
    (3) Perform a POST call using the LOCATION link returned earlier
    for the actionid: 7 which is for INPUT 8 Node
    POST
    http://localhost:9080/maximo/oslc/wf/mxapiwfassignment_71328
    HEADERS
           x-method-override: PATCH
       BODY
           {
               "actionid": 7,
               "memo":"To INPUT 8 NODE"
           }
    
    (4) Perform a POST call using the LOCATION link returned earlier
    for the actionid: 13 which is for STOP 2 node.
    POST
    http://localhost:9080/maximo/oslc/wf/mxapiwfassignment_71328
    HEADERS
           x-method-override: PATCH
       BODY
           {
               "actionid": 13,
               "memo":"FROM NPUT 8 NODE to STOP 2 NODE"
           }
    RESPONSE BODY
    {    "Error": {
           "reasonCode": null,
           "message": "system#invalidfetch",
           "statusCode": "400"
       }
    }
    
    
    (C) Note: Detailed steps to reproduce the issue can be found at
    the link- https://www.ibm.com/support/pages/node/6469435
    
    
    RESULT: A message: "system#invalidfetch" with statusCode: "400"
    is received.
    
    EXPECTED RESULT:  REST Post call performed for the STOP Node
    should complete succesfully without any error.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Maximo users                                                 *
    ****************************************************************
    

Problem conclusion

  • The fix for this APAR is contained in the following
    maintenancepackage:
    Release 7.6.1.3 of Base Services
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ33585

  • Reported component name

    INTEGRATION

  • Reported component ID

    5724R46I1

  • Reported release

    761

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-07-05

  • Closed date

    2021-07-21

  • Last modified date

    2021-07-21

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

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

Fix information

  • Fixed component name

    INTEGRATION

  • Fixed component ID

    5724R46I1

Applicable component levels

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

Document Information

Modified date:
22 July 2021