Question
Smythe Smythee · Apr 25

How to save Data transformation Target data into Globals

Hi Team,

I am Working on one data transformation, In the data transformation the data transformation data needs to be saved in the globals.

Can you please help me to save the data into the globals in a Persistent class.

 

Thanks in advance

Product version: Ensemble 2018.1
$ZV: Cache for Windows (x86-64) 2018.1.1 (Build 312_1_18937U) Fri Apr 26 2019 17:58:36 EDT
0
0 108
Discussion (7)1
Log in or sign up to continue

All persistent classes will save their data in globals automatically. It will save using the standard structures of the IRIS SQL layer.

If you have an existing global structure that you need to maintain you'll need to map your classes to your global structure. See this series of articles on how to do that.

Hi,

I need the save the value getting in my target message into the globals. please find the example for my data transformation

<assign value='source.{MSH:1}' property='target.{MSH:1}' action='set' />
<assign value='source.{MSH:2}' property='target.{MSH:2}' action='set' />
<assign value='"{target.{MSH:3.1}' property='target.{MSH:3.1}' action='set' />
<assign value='"{target.{MSH.4.1}"' property='target.{MSH:4.1}' action='set' />

The value in the target message needs to stored in the globals. Can you please share any example so i can proceed further.

Thank you in advance


 

Can you explain more about your use case? What is the purpose of copying these fields directly into globals? Is there another application that will read the values from the globals?

Yes another application will take the date from the saved globals

About my user story

1.Store the patient information in Cache database

2.Store the patient information coming in ADT Message in Persistent class

Is there already a defined structure for these globals/do these globals already exist? Or will you design something new?

I have define the new globals for this use case