1
0
-1

I would like to send out an email which includes a link to the next assignment/activity. I already understand the link URL to use, except that I need to insert the assignment id of the next assignment into the link URL. Other than getting this by

  1. earlier in the process storing an assignment id in a workflow variable
  2. doing some kind of string manipulation to the workflow variable to add the number of future steps to the assignment number
  3. Using that modified workflow variable in the link URL

is there a simpler way to generate the next assignment id within the link right in the body in the email tool?

An example link URL in the email body is

jw/web/embed/userview/ifcsnsandbox/providerDashboard/_/?_mode=assignment&activityId=5272_2109_ifcsnsandbox_paymentProcess_providerCompletesInvoiceInformation

However, I want to insert the NEXT assignment/activity id after &activityid= because after the email tool with the link in the body is sent, then the link will take him directly to the assignment/activity after the email sending tool,

Thanks, Bill

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hi, it might not be possible to obtain the next assignment in the tool, because at that point in the time the assignment has not been created yet. Try using the User Notification Plugin instead, which is specifically designed for this.

      1. William Vasu

        Thanks, Anders. I have tried to go that route. I have installed that plugin (see here)

        However, when I tried to map that plugin to a tool I could not see it in the list (see here)

        I also restarted Joget to no effect.

        Thanks in advance, Bill

      2. William Vasu

        I see now that the settings are put into Plugin Defaults and not by adding this plugin into a tool and then it works for all assignments unless they are excluded. This seems to work for web pushes but not yet for emails. Will continue to test. Thanks!

      CommentAdd your comment...