dig24 Dear Ivy Team How to pass the parameters to the task, then, and more precisely, how to do the mapping to the process data? Example: http://localhost:8081/ivy/pro/designer/Project$1/16E8DF16E2CAE91C/16E8DF16E2CAE91C-f2/TaskA.iot?taskId=7&customParams=something. When I accessed this link, it redirected to the User Task Dialog. How can we get the customParams in the User Task dialog?
Louis Müller Hello What version of ivy are you using and could you provide a bit more context, e.g. screenshots of your example process with most relevant inscriptions or even upload an example project? Thx
dig24 Hi @Louis Müller We're using Ivy version 10. We have the feature to generate Task URL (http://localhost:8081/ivy/pro/designer/Project$1/16E8DF16E2CAE91C/16E8DF16E2CAE91C-f2/TaskA.iot?taskId=7&customParams=something) for the user. When the user accesses this Task URL, the Ivy engine will point it to the User Task Dialog (Example User Task). So I want to pass the custom parameters in the task URL like taskId=7&customParams=something, and extract the customParams in the User Task Dialog. So does the Ivy support this behavior? I see this post has some relevant: https://answers.axonivy.com/questions/4223/redirect-to-task.html Thanks
Louis Müller Alright, thanks for the info. Please have a look at the following conversation, I think your question is covered there. see https://community.axonivy.com/d/593-offline-workflow-processes-and-tasks Just to clarify, it is important that you also pass the javax.faces.ViewState value as form-data. So you receive the javax.faces.ViewState value via GET and then pass it in the subsequent POST request, e.g.: