BPM, Workflow, and Case

BPM, Workflow, and Case

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
  • 1.  Using Undercover Agent in IBM BPM

    Posted Fri August 25, 2023 04:15 PM
    Edited by Esra Karadağ Fri August 25, 2023 04:18 PM
    Hi Everyone, 
     
    I need an example of using Undercover Agent in IBM BPM BAW. Anyone have previous experience with this? Is there a document? 
     
    We should send a notification email to the user every Monday. Can we do this with another feature in BPM BAW?



    ------------------------------
    Esra Karadağ
    ------------------------------



  • 2.  RE: Using Undercover Agent in IBM BPM

    Posted Mon August 28, 2023 04:20 AM

    I use UCA a lot.

     

    There are 2 options depending on your case :

    • you need some sort of a general cron job : you create a new UCA and in the "implementation" you attach it to a Service Flow instead of a "variable". Each time this service flow will be executed as designed.
    • you need to attach the job to a parent process : you create a new UCA as above and you attach it to a service flow. And within that service flow you use a "intermediate event" message that triggers a 2nd UCA to an "Event subprocess" within the parent process.

     

    I don't elaborate more, it really depends on what you need. Feel free to ask mor details on one of these options if you think they fit.

     

    Cordialement,

    Best regards,

    --------------------------------------------------------------------------------------------------------
    Jean MIDOT

    IBM Technology Zone: Systems
    IT Specialist
    Global Markets

    Mail : jean.midot@fr.ibm.com

     

    Unless otherwise stated above:

    Compagnie IBM France
    Siège Social : 17, avenue de l'Europe, 92275 Bois-Colombes Cedex
    RCS Nanterre 552 118 465
    Forme Sociale : S.A.S.
    Capital Social : 664 069 390,60 €
    SIRET : 552 118 465 03644 - Code NAF 6203Z





  • 3.  RE: Using Undercover Agent in IBM BPM

    Posted Mon August 28, 2023 06:49 AM

    Hi Jean,

    Thank you for your support. We want to use a UCA in UCA whose Scheduled type is Time elapsed. We found On Event UCA as an example. But we couldn't find any documentation for using Time Elapsed. If you have an example or document, can you share it with me?

    In an activity step, we want to create a schedule according to the SLA duration and send an e-mail notification. But we got stuck in creating Schedule.



    ------------------------------
    Esra Karadağ
    ------------------------------



  • 4.  RE: Using Undercover Agent in IBM BPM
    Best Answer

    Posted Mon August 28, 2023 07:06 AM

    If you only want to trigger the event when a specific task exist:
    Attach a timer to the specific task, make sure the timer does NOT interrupt the activity, and make it repeatable. Draw a line from the timer to a service flow that first checks if the task is assigned to someone, and extract that user if it is. It then sends the email (how you send an email is a different question, but we would probably just call a REST service in our backend). After the service, draw a line to an end event.

    If you want to trigger the event for multiple tasks/states:
    Att an event subprocess to your process, and trigger it with a timer. Same as above, but it checks for tasks that have status Received, and check the assignment for those.

    For both of the solutions, make sure the timer triggers on custom date, and after very trigger, make sure to set the date to the next monday.

    Regarding UCA: Sure, you can schedule with those, but then the UCA should perform a TWSearch, find all assigned tasks, and spam out the emails as well. 



    ------------------------------
    Johan Andersson
    ------------------------------