Questions Tagged With requesthttps://answers.axonivy.com/tags/request/?type=rssquestions tagged <span class="tag">request</span>enThu, 07 Nov 2019 09:49:11 -0500How to set multiple responsible roles for a process start requesthttps://answers.axonivy.com/questions/4151/how-to-set-multiple-responsible-roles-for-a-process-start-request<p>How can we set more than one role as "Responsible role" on a Request Start element on the Request tab. Users with different roles (not able to organize under one commen role tree node) should see a process in the portal and should be able to start it.</p> <p>My workaround at the moment is to define two different start elements, which are identical except the responsible role. It works, but... If one user holds both roles, he will see two identical processes.</p> <p>Thanks for help.</p>Adrian ImfeldThu, 07 Nov 2019 09:49:11 -0500https://answers.axonivy.com/questions/4151/how-to-set-multiple-responsible-roles-for-a-process-start-requestprocessrequestsecurityroleSyntax Highligting for Ivyscripthttps://answers.axonivy.com/questions/4097/syntax-highligting-for-ivyscript<p>Hello, Is there any way to do syntax highlighting in ivyScript? </p>TareqKFri, 11 Oct 2019 04:58:01 -0400https://answers.axonivy.com/questions/4097/syntax-highligting-for-ivyscriptivyscriptdesignerrequestHow to find the root cause of error 500, frequently occuring in the logshttps://answers.axonivy.com/questions/3795/how-to-find-the-root-cause-of-error-500-frequently-occuring-in-the-logs<p>Some of users of my wf-app seem to face an error 500 while working. The errors show a viewExpiredException as cause of the problem. Generally this points to a session timeout issue. But as the user fires several request within seconds it doesn't make much sense, that one of the requests should fail with error 500 while others can be served as expected.</p> <p>Unfortunately the behaviour is not 100% reproducible on any dialog. The logs expose the problem for several users but there is no clear pattern to find out which behaviour leads to these errors. Do I have any chance to isolate the real issue behind these error 500 logs?</p>SupportIvyTeamMon, 13 May 2019 07:02:36 -0400https://answers.axonivy.com/questions/3795/how-to-find-the-root-cause-of-error-500-frequently-occuring-in-the-logsrequestjsfloggingajaxlog4jRequest parameter of a xhtml pagehttps://answers.axonivy.com/questions/3683/request-parameter-of-a-xhtml-page<p>Hi Ivy Team</p> <p>I have the following setup: A process is started to display a dialog. In the dialog (..../MyDialog.xhtml) a redirect to another site is executed and the site calls again .../MyDialog.xhtml?myParam=xyz</p> <p>myParam should be read in a script box - usually one would use</p> <p>... FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("myParam")</p> <p>but looks like this doesn't work. Importantly I can not use the start/param mapping feature.</p> <p>So is there another way to read the parameter or the request path ?</p> <p>Thanks &amp; Regards John</p>John MoserFri, 22 Feb 2019 05:42:12 -0500https://answers.axonivy.com/questions/3683/request-parameter-of-a-xhtml-pagerequestReserved request parametershttps://answers.axonivy.com/questions/2586/reserved-request-parameters<p>Hi Ivy.team,</p> <p>I have a concern when trying to attach a param names "lang" to an URL. Ex: <code><a href="http://localhost:8081/ivy/pro/designer/abc/15A6EF8EF2C5F61B/start.ivp?lang=EN">http://localhost:8081/ivy/pro/designer/abc/15A6EF8EF2C5F61B/start.ivp?lang=EN</a></code></p> <p>And it returns null when extract by using <code>ivy.request.getFirstParameter("lang")</code>.</p> <p>Then, I change it to <code>"language"</code> as below. <code><a href="http://localhost:8081/ivy/pro/designer/abc/15A6EF8EF2C5F61B/start.ivp?language=EN">http://localhost:8081/ivy/pro/designer/abc/15A6EF8EF2C5F61B/start.ivp?language=EN</a></code> Now it returns value <code>EN</code> with <code>ivy.request.getFirstParameter("language")</code> as I expect.</p> <p>Is <code>lang</code> a keywork or something which couldn't use for url param?</p> <p>Asked by <a href="http://answers.axonivy.com/users/796/thienqh">@thienqh</a></p>Alex SuterFri, 21 Apr 2017 15:47:27 -0400https://answers.axonivy.com/questions/2586/reserved-request-parametersrequest