Francesco Chicchiriccò created SYNCOPE-1591:
-----------------------------------------------

             Summary: Support fetching data from internal storage for XML 
content loader
                 Key: SYNCOPE-1591
                 URL: https://issues.apache.org/jira/browse/SYNCOPE-1591
             Project: Syncope
          Issue Type: Improvement
          Components: core
            Reporter: Francesco Chicchiriccò
            Assignee: Francesco Chicchiriccò
             Fix For: 2.1.8, 3.0.0


In some circumstances it could be useful to dynamically fetch data from 
internal storage while loading initial content, especially for statements that 
need to comply with referential integrity.

Essentially, we need to extend the feature introduced by SYNCOPE-1498 by 
allowing to populate variables after SQL query execution.

For example, the following entry:

{code}
<fetch key="procDef" query="SELECT ID_ FROM ACT_RE_PROCDEF WHERE 
KEY_='userWorkflow'"/>
{code}

will define a {{procDef}} variable whose result is obtained by executing the 
given query. In the following lines its value can be referenced via 
{{${procDef}}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to