[ 
https://issues.apache.org/jira/browse/SYNCOPE-1591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17196128#comment-17196128
 ] 

ASF subversion and git services commented on SYNCOPE-1591:
----------------------------------------------------------

Commit b764f567b5900b707431467ccbc8c18b1cac5a36 in syncope's branch 
refs/heads/master from Francesco Chicchiriccò
[ https://gitbox.apache.org/repos/asf?p=syncope.git;h=b764f56 ]

[SYNCOPE-1591] Introducing support for fetch statements, used by archetype to 
populate Flowable tables for test users


> 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ò
>            Priority: Major
>             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