Clarity

  • 1.  Gel Script Return Values to Clarity Process Module

    Posted Oct 12, 2010 07:06 AM
    How do you pass data from a gel script back to the process module for further processing?
    We have already created a gel script that runs a select query that  returns true or false but now we need to feed that back to the process module.


  • 2.  Re: Gel Script Return Values to Clarity Process Module

    Posted Oct 12, 2010 07:06 AM
    Currently there is no way to reference GEL persisted variables in a PRE or POST condition expression. You would have to use SQL to update an object custom attribute with the value(s) and then reference those in the PRE or POST condition.  This sounds like it would make a good enhancement request though.   Sean


  • 3.  RE: Re: Gel Script Return Values to Clarity Process Module

    Posted Jun 04, 2013 03:22 PM

    seanharp wrote:

    This sounds like it would make a good enhancement request though.
    Indeed! I found one out there.

    Please vote up [size=6]Ability to check a response code in the Process condition from a Gel Script Action[size] if you believe having the ability to pass a variable from GEL back to a process would provide your organization value.


  • 4.  Re: Gel Script Return Values to Clarity Process Module

    Posted Oct 12, 2010 07:06 AM
    Hi  You can save the data to variable, array, in the text file and than you can use this data for later using.  Milos


  • 5.  Re: Gel Script Return Values to Clarity Process Module

    Posted Oct 12, 2010 07:06 AM
    I am returning the result to a variable. Unfortunately that is not the issue. We are not doing the entire process from a gel script. In fact we are only using the gel script because we could not do the required comparison directly in the clarity process module so now we need to feed the result back to the clarity process module so it can make the appropriate decision as to what to do next. Hence true take this path or false take this one.


  • 6.  Re: Gel Script Return Values to Clarity Process Module

    Posted Oct 12, 2010 07:06 AM
    If your process is associated with any object, then create a custom attribute in that object. In the GEL script, update this custom attribute (with SQL update) based on the returned value of your SQL query. Then you can use this attribute in the Post Condition section to put the path against.


  • 7.  Re: Gel Script Return Values to Clarity Process Module

    Posted Oct 12, 2010 07:06 AM
    Thank you yogesh, that was our first thought but we were trying to avoid doing that if possible. Does anyone know if there any other way to handle passing back the data?