Skip to content

Commit f519978

Browse files
committed
Test process now saves context
1 parent 0f87efd commit f519978

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

isc/py/test/Process.cls

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
/// Sample process
2-
Class isc.py.test.Process Extends (Ens.BusinessProcessBPL, isc.py.ens.ProcessUtils)
2+
Class isc.py.test.Process Extends (Ens.BusinessProcessBPL, isc.py.ens.ProcessUtils) [ DependsOn = isc.py.ens.ProcessUtils ]
33
{
44

5+
Storage Default
6+
{
7+
<Type>%Library.CacheStorage</Type>
8+
}
9+
510
/// BPL Definition
611
XData BPL [ XMLNamespace = "http://www.intersystems.com/bpl" ]
712
{
813
<process language='objectscript' request='Ens.Request' response='Ens.Response' height='2000' width='2000' >
9-
<sequence xend='200' yend='650' >
14+
<sequence xend='200' yend='750' >
1015
<call name='Correlation Matrix: Tabular' target='isc.py.ens.Operation' async='1' xpos='200' ypos='250' >
1116
<annotation><![CDATA[import pyodbc
1217
import pandas as pd
@@ -68,14 +73,13 @@ plt.close(f)]]></annotation>
6873
<response type='isc.py.msg.ExecutionResponse' />
6974
</call>
7075
<sync name='Wait Correlation Matrix: Graph' calls='Correlation Matrix: Graph' type='all' xpos='200' ypos='550' />
76+
<call name='Save Context' target='isc.py.ens.Operation' async='1' xpos='200' ypos='650' >
77+
<request type='isc.py.msg.SaveRequest' />
78+
<response type='Ens.StringResponse' />
79+
</call>
7180
</sequence>
7281
</process>
7382
}
7483

75-
Storage Default
76-
{
77-
<Type>%Library.CacheStorage</Type>
78-
}
79-
8084
}
8185

0 commit comments

Comments
 (0)