IBM Support

JR50168: REST API RESUME SERVICE RETURNS 200 SUCCESS CODE WHEN TASK FAILS.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • When resuming a service using the REST Resume Service API , if
    the task has not yet been claimed, REST API tester will return
    a 200 success code.  However, the underlying task will result
    in a failed state as an exception has been thrown in runtime.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM Business Process Manager (BPM)          *
    *                  Advanced                                    *
    *                  IBM BPM Standard                            *
    *                  IBM BPM Express                             *
    ****************************************************************
    * PROBLEM DESCRIPTION: When using REST API, Resume Service     *
    *                      function, a 200 success code is         *
    *                      returned but the service fails with     *
    *                      an exception thrown during runtime.     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If a task has not yet been claimed and the REST API resume
    service is used to continue the flow of the service, the REST
    response will return with a 200 success code but the task will
    be in failed state due to an exception thrown during runtime.
    The following exception may be seen in the logs:
    CWLLG0594E: An exception occurred while initializing the
    runnable thread. Error:
    com.lombardisoftware.component.common.workflow.WorkflowProcessIt
    emException: Undeclared variable "user_loginName" in namespace
    "system" found in service "TestHS" item "coach" location
    "ITEM". You must declare it in order to use it.
    com.lombardisoftware.component.common.workflow.WorkflowProcessIt
    emException: Undeclared variable "user_loginName" in namespace
    "system" found in service "TestHS" item "coach" location
    "ITEM". You must declare it in order to use it.
    at
    com.lombardisoftware.component.common.workflow.ExecutionJob.doJo
    b(ExecutionJob.java:421)
    at
    com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.
    doResumeWorkflowEngine(EJBWorkflowManagerBean.java:1274)
    at
    com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.
    resumeTask(EJBWorkflowManagerBean.java:349)
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    JR50168

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    850

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-05-06

  • Closed date

    2014-06-09

  • Last modified date

    2014-06-09

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

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

Fix information

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
09 June 2014