Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-1591

Support fetching data from internal storage for XML content loader

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.8, 3.0.0
    • Component/s: core
    • Labels:
      None

      Description

      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:

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

      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}.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ilgrosso Francesco Chicchiriccò
                Reporter:
                ilgrosso Francesco Chicchiriccò
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: