IBM Security Verify

 View Only
  • 1.  Workflow Timeout/Sleep

    Posted Fri February 09, 2024 11:07 AM

    Inside of my ISIM workflow I am looking to have the workflow sleep for a set amount of time. I have attempted a barbaric while loop to acheive it but that his its own performance complications. Is there any exposed setTimeout, or sleep that can be accessed from within the workflow editor?



    ------------------------------
    Jordan Boncz
    ------------------------------


  • 2.  RE: Workflow Timeout/Sleep

    Posted Fri February 09, 2024 11:58 AM

    There is an application extension for doing a timeout : wait-extension

    That will use the built-in scheduler and not at your cpu resources.

    One thing - most cases where I have seen a sleep/wait done in workflows this is sign of bad/wrong implementation. The ISIM/ISVG IM workflow engine is capable of ensuring things are performed either synchronously or asynchronously - it may not be quite simple to do so - but mostly possible.

    Also - it is not a good idea to do "call-outs" (e.g. external API calls to external systems) in a normal workflow - for that you should use something better e.g. calling out to SDI and then use a queue system (e.g. MQ) to decouple the systems.



    ------------------------------
    Franz Wolfhagen
    WW IAM Solution Engineer - Certified Consulting IT Specialist
    IBM Security Expert Labs
    ------------------------------