IBM Support

IJ49365: INPUT NODE OPTIONS ARE DISPLAYED INCORRECTLY WHEN CALLED VIA REST API

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

  • ABSTRACT : Input Node options are displayed incorrectly when
    called via REST API
    
    STEPS TO REPRODUCE:
    ==================
    1) Create New Workflow (Login as MAXADMIN user)
    a) Navigate to System Configuration-->Platform
    Configuration-->Workflow Designer
    b) Click on New Process
    c) Populate Process Name with Validate Name, Object = SR
    d) Place Task Node and Manual Input Node
    e) From Start Node Connect Task Node
    f) Double click Task Node, Enter valid Title and Uncheck Display
    One? check box
    g) Under Assignments Click on New Row and under Role ID populate
    MAXADMIN, Click OK
    h) From Task Node connect with positive line to Manual Input
    Node
    i) From Manual Input Node connect 3 positive lines to Stop Node
    j) Click on each positive line and populate below details and
    Save,
    Line 1
    
    Instruction = TEST ACCEPT - 1
    Line 2
    Instruction = TEST ACCEPT - 2
    Line 3
    Instruction = TEST FALSE - 1
    Expression = 1=2
    k) Under Common Action, Click on Validate Process, Enable
    Process and then Activate Process.
    2) Create Service Request and validate the Manual input node
    option from UI
    a) Navigate to Service Desk --> Service Requests application.
    b) Click on New Service Request
    c) Enter valid Summary and Route Workflow
    d) Click on Route Workflow again, you could notice only below
    two options are available
    	TEST ACCEPT - 1
    
    	TEST ACCEPT - 2
    e) Click cancel from the dialog.
    3) Validate Manual input node option from SOAPUI
    a) Open SOAPUI make a get call to the service request,
    http://hostname/maximo/oslc/os/mxapiwfassignment?_lid=maxadmin&
    _lpwd=maxadmin&oslc.select=*&lean=1&oslc.where=ownertable="SR"&
    oslc.where=ticketid="TICKETID"
    
    Note : 1) Replace hostname and TICKETID in the above URL
    2) Note down the wfassignment id from the response.
    b) Use below details to make a POST call,
    Add both Header and Value,
    MAXAUTH --> Credentials
    x-method-override --> PATCH
    c) Add below content,
    {
    "memo":"test manual input node",
    "accepted":true
    }
    
    URL : http://hostname/maximo/oslc/os/mxapiwfassignment/YYY?acti
    on=wsmethod:completeAssignment&lean=1
    Note : Replace hostname with your hostname  and YYY with
    wfassignment id from step 3(a) in the above URL
    d) You could notice all 3 options are available where as from UI
    we received only 2 options.
    
    {   "nodetype": "INPUT",
      "internalnodetype": "WFINPUT",
      "member":    [
               {
            "wfactionid": 867,
            "sequence": 1,
            "ownernodeid": 4,
            "membernodeid": 2,
            "instruction": "TEST ACCEPT - 1",
            "processname": "TEST_SR",
            "actionid": 3,
            "href": "null/0-867",
            "ispositive": true,
            "processrev": 1
         },
               {
            "wfactionid": 868,
            "sequence": 2,
            "ownernodeid": 4,
            "membernodeid": 2,
            "instruction": "TEST ACCEPT 2",
            "processname": "TEST_SR",
            "actionid": 4,
            "href": "null/1-868",
            "ispositive": true,
            "processrev": 1
         },
               {
            "wfactionid": 869,
            "sequence": 3,
            "ownernodeid": 4,
            "condition": "1=2",
            "membernodeid": 2,
            "instruction": "TEST FALSE - 1",
            "processname": "TEST_SR",
            "actionid": 5,
            "href": "null/2-869",
            "ispositive": true,
            "processrev": 1
         }
    
    RESULT:
    Negative condition line details are being retrieved.
    
    
    EXPECTED RESULT:
    Negative condition line details should not be retrieved.
    
    Customer Product Version #
    ========================
    Tivoli's process automation engine 7.6.1.3
    

Local fix

Problem summary

  • ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * INPUT NODE OPTIONS ARE DISPLAYED INCORRECTLY WHEN CALLED VIA *
    * REST API                                                     *
    ****************************************************************
    

Problem conclusion

  • A fix for this APAR will be included in a future release.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ49365

  • Reported component name

    MAXIMO ASST MGM

  • Reported component ID

    5724R46AM

  • Reported release

    761

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-11-30

  • Closed date

    2023-12-28

  • Last modified date

    2023-12-28

  • 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

    MAXIMO ASST MGM

  • Fixed component ID

    5724R46AM

Applicable component levels

[{"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","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
29 December 2023