convedo Tech Talk

Covid-19/Coronavirus Releated Solutions Learn more

    Setting the Alert Message in Loopback actions with Metastorm [Quick Tip]

    OpenText MBPM Metastorm Loopback Action Alert MessageSometimes we get questions from our customers to very fundamental functionality in OpenText MBPM. One of them was regarding the Alert Message which is visble to users in the ToDo- and Watchlist when using Loopback actions. When using a Loopback action, by default the action updates the Alert Message with the action name of the Loopback action itself. This might not be the expected result. In some cases, the prefered result is to show the previous message, the one which was responsible for the folder ending up at a specific stage. The following quick tip is based on a short cut solution which has been made available by Metastorm many years ago.

    What is a Loopback Action?

    In Metastorm you can draw an action where the source and destination stages are the same. Such an action is called a loopback action.The action type can be any action except a Rendezvous action (More on that in future quick tips).

    A loopback action is any action that updates a folder, but does not move it on to a different stage. By default, when a loopback action is taken on a folder, OpenText MBPM does not regenerate the list of users who have the folder on their To Do or Watch lists. It simply updates the details for this folder in each list.  Using the properties on the Roles tab for a loopback action, you can modify this functionality so that the To Do and Watch lists are regenerated. Ok, that explains the basics of loopback actions. But how can we show the user the previous Alert Message in the ToDo and Watch list? Within the Metastorm Designer you can use the method GetEarlierMessage().

    The method GetEarlierMessage()

    This method within Metastorm returns the alert message associated with a previous action on the current folder. If you want to retrieve the last action message you need to select the Method from the Expression Builder (Folder Information Menu) and pass in the index. The complete Method call would then look like:

    GetEarlierMessage(ProcessContext.FolderActionCount-1)

    To actually make that work to answer the client's question you need to call this code from the loopback actions's Message property:

    Action Message Property Opentext MBPM Metastorm

    I hope you find this OpenText MBPM/Metastorm BPM Quick Tip useful. Feel free to leave a comment below.

    MIGRATING TO OPENTEXT MBPM v9

    Topics: OpenText MBPM- Metastorm BPM- Metastorm Designer- Quick Tip- GetEarlierMessage- Loopback Action

    Previous Post

    5 new features in OpenText MBPM 9.3.2

    Next Post

    13 OpenText MBPM Shortcuts [Mini Solutions]

    7 steps to bpm success

    Free Whitepaper: 7 Steps to BPM Success

    A Pragmatic Approach to Leveraging BPM Technology for Business Success

    This whitepaper provides the reader with a 7 Step model that seeks to suggest ways in which organisations can maximise their business returns. The model sets out to blend the benefits of non-technology approaches with the more technological ones.

    Download Whitepaper Now

    Have a project in mind?

    We'd love to chat with you and find out how we can help solve your process and automation challenges.

    Get in touch with us

    SUBSCRIBE TO CONVEDO WEEKLY!

    Get all the latest updates on Intelligent Automation.

    Fill out the form below to subscribe to the convedo newsletter.

    Subscribe to Email Updates

    100% Privacy. No Spam.

    Recommended Reading

    Posts by Tag

    See all