AnsweredAssumed Answered

Use of gel:persist

Question asked by abarbosa on Apr 18, 2017
Latest reply on Apr 19, 2017 by Bikash.Pemari

Hi all.


I'm try to create a new process in Clarity CA and I need to pass a set of parameters to more than one step in the entire process. So, to avoid define parameters in all steps, I'm trying to use gel:persist and gel:parameter in a first step to collect the parameters and reuse them in the next steps. But, after started the process do not leave the Start step.

Anyone knows how can I do that?

Here is my gel:script



xmlns:soap="jelly:com.niku.union.gel.SOAPTagLibrary" xmlns:gel="jelly:com.niku.union.gel.GELTagLibrary">

<!-- Provide parameters in for the process -->
<gel:parameter var="p_creator" default="admin"/>
<gel:parameter var="p_business_line" default=""/>
<gel:parameter var="p_start_date" default="01-01-2016"/>
<gel:parameter var="p_end_date" default="31-12-2016"/>
<gel:parameter var="p_release_size" default="1"/>

<gel:persist var="v_creator" value="${p_creator}" scope="INSTANCE"/>
<gel:persist var="v_business_line" value="${p_business_line}" scope="INSTANCE"/>
<gel:persist var="v_start_date" value="${p_start_date}" scope="INSTANCE"/>
<gel:persist var="v_end_date" value="${p_end_date}" scope="INSTANCE"/>
<gel:persist var="v_release_size" value="${p_release_size}" scope="INSTANCE"/>