IBM Support

PH29937: AUTO-SCHEDULING CUSTOM JOB STOPPED IF THE SCHEDULING PART WAS EDITED

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: When the customer set up a daily custom job in
    scheduler, it will continue to run unless set to end day.
    However, it will stop if they edit the schedule part (even no
    modification but just edit and save it).
    
    Workaround: Customer needs to create a new daily custom job in
    scheduler.
    
    Prerequisites:
    1. Implementing a Java class for custom jobs by following the
    link.
    https://www.ibm.com/support/knowledgecenter/SSFUEU_8.2.0/op_grc_
    admin/c_op_adm_java_class_custom_jobs.html
    a. Go C:\OpenPages\aurora\lib and replace the existing
    openpages-ext.jar file.
    b. Create the folder on your OP server, for example named
    ?CMDScript? under C:\IBM
    c. In this example, created sample batch file
    (C:\IBM\java_8.0_64\bin\java -version) and stored in newly
    created folder ?CMDScript? at the above step.
    d. Restart OP servers.
    
    
    2. Create a custom job
    a.
    https://www.ibm.com/support/knowledgecenter/SSFUEU_8.2.0/op_grc_
    new_features/c_op_nfg_8200_scheduler.html
    b. Login to OpenPages as OPAdministrator in TFUI
    c. Click gear icon next to the bell icon on the right top and
    expand ?Solution Configuration?
    d. Click ?Scheduler? and Click ?Add New?
    e. Fill out mandatory fields; Name = Test, Java class name =
    com.ibm.openpages.kpmg.custom.ScheduledCMDScripts
    f. Click ?Add? next to Custom Configuration
    g. Fill out mandatory fields, Name = fileName and Value =
    test.bat and click ?Done?
    h. Click ?Edit? next to Schedule to fill out mandatory files,
    Name = Daily, select ?Recurring? in Define Schedule, select
    Daily in Repeat and set 13:00 in Time of Day and Click ?Done?
    and click ?Done.
    
    
    Steps to Reproduce:
    1. Monitor in few days to verify if the custom job runs daily at
    scheduled time.
    a. Login to OpenPages as OPAdministrator in TFUI
    b. Click gear icon next to the bell icon on the right top and
    expand ?Solution Configuration?
    c. Click ?Scheduler? and Click ?Test? and click ?Executions? tab
    to see Execution Date and Status.
    2. Login to OpenPages as OPAdministrator in TFUI
    a. Click gear icon next to the bell icon on the right top and
    expand ?Solution Configuration?
    b. Click ?Scheduler? and Click ?Test? and click ?Edit?
    c. In Edit the custom job panel, click ?Edit? next to schedule
    d. Do not modify but click Done for example, change Daily to
    Weekly and back to Daily in Repeat and click ?Done? twice.
    3. Verify if the custom job is still marked as enabled but
    doesn?t run in the following day by following 1a-c.
    
    Expected Results:
    Scheduled custom job will run by following scheduled setting.
    
    Actual Results:
    Scheduled custom job stopped if the user edits the schedule part
    even they didn?t modify it.
    
    Error Message:
    No error.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * OpenPages Users                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * AUTO-SCHEDULING CUSTOM JOB STOPPED IF THE SCHEDULING PART    *
    * WAS EDITED                                                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Customers should download OpenPages with Watson 8.2 Fix Pack *
    * 2 (8.2.0.2). See the following document for details on       *
    * obtaining OpenPages 8.2.0.2:                                 *
    * https://www.ibm.com/support/pages/openpages-watson-82-fix-pa *
    * ck-2                                                         *
    ****************************************************************
    

Problem conclusion

  • The issue is that the start time is initialized from the user's
    browser, not the server, so for different time zones, that could
    mean that the start time is set in the future. We have changed
    the code so that the start time is always set on the server
    instead.
    
    Customers should download OpenPages with Watson 8.2 Fix Pack 2
    (8.2.0.2). See the following document for details on obtaining
    OpenPages 8.2.0.2:
    https://www.ibm.com/support/pages/openpages-watson-82-fix-pack-2
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH29937

  • Reported component name

    OPENPAGES GRC

  • Reported component ID

    5725D5100

  • Reported release

    820

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-09-28

  • Closed date

    2021-03-31

  • Last modified date

    2021-03-31

  • 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

    OPENPAGES GRC

  • Fixed component ID

    5725D5100

Applicable component levels

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSFUEU","label":"IBM OpenPages with Watson"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"820"}]

Document Information

Modified date:
01 April 2021