Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  Schedule Compliance HOW TO?

    Posted Thu December 08, 2022 12:22 PM
    Anyone who can help me to explain or point to material on HOW TO work with Compliance?
    How to use the dates fields, and how to set up the crontask should it i.e. be run in end of week or start of week. 
    What is the function for the two crons.. SKDComplianceStartCronTask, SKDComplianceEndCronTask And how to get Maximo to create the instaces? 

    ------------------------------
    Patrik Nilsson
    ------------------------------



    #Maximo
    #MaximoScheduler
    #AssetandFacilitiesManagement


  • 2.  RE: Schedule Compliance HOW TO?

    Posted Fri December 09, 2022 05:59 AM
      |   view attached
    Hi Patrik,

    I've been having a lot of interaction with the IBM Developers on this subject.  I have enclosed a PowerPoint they have given me that may help.  My answer does depend on what version you're on.

    Essentially, you need to define the duration of the monitoring as this will generate the Schedule Compliance End Date when you define the Schedule Compliance Start Date, this should be a time in the future rather than now.

    So If you define the duration as 1 week and the start as 01 June xxxx then the end date will automatically be 08 June xxxx both at midnight if you have not set a time.

    If you want to run the compliance automatically
    Next, you need to define the Schedule Frequency.  Now since you have defined the duration a 1 week, the cron should also be the same.  This will enable the cron task.  Ensure that the cron time is before or equal to that of the Schedule Compliance Start Date.

    This will automatically start the recording of the compliance when the cron task kicks off and captures the period between the Schedule Compliance Start and Finish Date.  You'll see the Schedule Compliance Active? flag enabled.

    Every week this will now stop the compliance and start a new one.

    If you want to run the compliance manually
    Simply select the Start Compliance button instead of setting the Cron Task to active

    =================================================
    I have a couple issue still to get sorted out and will be generating a video on this.

    ------------------------------
    ===============================
    Craig Kokay,
    Lead Senior Maximo/IoT Consultant
    ISW
    Sydney, NSW, Australia
    Ph: 0411-682-040
    =================================
    #IBMChampion2022
    ------------------------------

    Attachment(s)



  • 3.  RE: Schedule Compliance HOW TO?

    Posted Fri December 09, 2022 09:51 AM
    Thx Craig!! 
    This was really helpful. Have been looking around for this type of material for a while. 

    Maybe this should be added to the Library section as well. ;-)

    ------------------------------
    Patrik Nilsson
    ------------------------------



  • 4.  RE: Schedule Compliance HOW TO?

    Posted Wed December 14, 2022 07:18 AM
    Craig, just to mention this as I did not see this in your PPT
    I Ran into some issues with "Last Schedule Compliance date" and especially the timestamp.
    So if I have a date in "Last Schedule Compliance date" that will be used by the Crontask and for the next cycle. So even if I enter a stert date withanother time i.e. 00:15 Maximo will use the timestamp from "Last Schedule Compliance date" So it is important to hav a correct timestamp in that field. Or make sure it is empty when setting up the crontask. 

    Last schedule compliance Start:

    • If you run compliance manually Maximo will enter a date & timestamp in the field (P3) Last Schedule Compliance Start, when Finish Compliance with the date/time from Schedule compliance Start. (I did not really bother about the timestamp in start/end when testing.)

    • In next test i corrected the Schedule Compliance start to 2013-12-13 00:15 and it seems like it was OK as I got the time stamps OK on row 2 (P2)

    • The issue is that the date in field (3) Last Schedule Compliance Start is not updated. So Maximo seems to use the timestamp in that field for setting the next Start/End date for next complience period. So the the date will be wrong (P2).

    • My conclusion here is to make sure you DO not have any date in Last Schedule Compliance Start. When you set up the crontask.

    • The only way to clear the Last Schedule Compliance Start is to inactivate the crontask, and start over by setting;
      • Duration,
      • Duration Units,
      • Schedule Compliance Start,
      • (Compliance start will be calculated and added automatically)
      • and then setup the Schedule frequency.
        When you return from Shedule Frequency maximo will activate the Cron task. And add the Schedule Compliance start date/Time in to Last Schedule Compliance Start

    • You should not press Start Compliance or Finish Compliance They are only to be used if you want to run the Compliance manually.


    ------------------------------
    Patrik Nilsson
    ------------------------------