1
0
-1

I have claim form. User can submit a claim form and type his/her manager name for approval. So, new activity will appear in his/her manager Inbox. I think manager not usually login and monitor his/her Joget Inbox, so we need to send email notification as reminder for manager. So, i made Tool called 'Send email notification to Manager'. This email contain an URL which refer to an activity 'Manager Approval'.

In here, i want to ask how i can custom this URL? if i added :

 http://localhost:8080/jw/web/client/app/assignment/#assignment.processID#

it will refer to Tools Activity 'Send email notification to Manager' not activity 'Manager Approval'.

Is it possible to custom this URL if i don't want to use 'User Notification' Plugin?

 

Thankyou..

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      You will just need to reconstruct the link and parameter needed to reach the assignment page directly from the link. The challenge here is that, in the Email Tool, you will not be able to tell what is the exact activity instance id for you to point to.

      Best is to still use User Notification plugin which will be triggered upon creation of assignment. It will be "aware" of its own assignment and has access to it. It only takes a few configurations to achieve what you want to.

      User Notification

      1. Nana

        Correct Walter ! Its mean i can't do what i want in above, right? I just can implement the User Notification Plugin. Oh, so shame..How if i want to type different contents in the email? because what i know is with User Notification Plugin we CAN'T make different content for each activity. Thankyou and please answer me again Walter

      2. Walter

        You can make use of the WorkflowManager service class to retrieve the activity instance ID in your Email Tool plugin if you need to customize your email message specifically.

      CommentAdd your comment...