Project

General

Profile

1
<NODE name="COLLECT" isStart="true" type="FetchMDStoreRecords">
2
	<DESCRIPTION>Fetch records from MDStore</DESCRIPTION>
3
	<PARAMETERS>
4
		<PARAM required="true" type="string" name="mdId" managedBy="system" category="MDSTORE_ID">$params.("orig_id")$</PARAM>
5
		<PARAM required="true" type="string" name="mdFormat" managedBy="system">$params.("orig_format")$</PARAM>
6
		<PARAM required="true" type="string" name="eprParam" managedBy="system">collected_epr</PARAM>
7
	</PARAMETERS>
8
	<ARCS>
9
		<ARC to="FIND_CONTEXTS"/>
10
	</ARCS>
11
</NODE>
12

    
13
<NODE name="FIND_CONTEXTS" type="ApplyXslt">
14
	<DESCRIPTION>Find project contexts</DESCRIPTION>
15
	<PARAMETERS>
16
		<PARAM required="true" type="string" name="xsltClasspath" managedBy="user" function="listFiles('/eu/dnetlib/msro/openaireplus/workflows/repo-hi/entityreg-contexts/xsl','xsl')"></PARAM>
17
		<PARAM required="true" type="string" name="inputEprParam" managedBy="system">collected_epr</PARAM>
18
		<PARAM required="true" type="string" name="outputEprParam" managedBy="system">contexts_epr</PARAM>
19
	</PARAMETERS>
20
	<ARCS>
21
		<ARC to="PROCESS_CONTEXTS"/>
22
	</ARCS>
23
</NODE>
24

    
25
<NODE name="PROCESS_CONTEXTS" type="ProcessContexts">
26
	<DESCRIPTION>Process project contexts</DESCRIPTION>
27
	<PARAMETERS>
28
		<PARAM required="true" type="string" name="eprParam" managedBy="system">contexts_epr</PARAM>
29
		<PARAM required="true" type="string" name="contextObj" managedBy="system">contexts</PARAM>
30
		<PARAM required="true" type="string" name="contextId" managedBy="user"></PARAM>
31
		<PARAM required="true" type="string" name="contextLabel" managedBy="user"></PARAM>
32
		<PARAM required="true" type="string" name="contextType" managedBy="user">funding</PARAM>
33
		<PARAM function="validValues(['all', 'manager', 'hidden'])" managedBy="user" name="dashboardVisibility" required="true" type="string">all</PARAM>
34
		<PARAM required="false" type="string" name="params" managedBy="user">{openaire-guidelines3.0:XXX, FundRef:YYYY, prefix:PPPP}</PARAM>
35
	</PARAMETERS>
36
	<ARCS>
37
		<ARC to="PREPARE_DB_ENTRIES"/>
38
	</ARCS>
39
</NODE>
40

    
41
<NODE name="PREPARE_DB_ENTRIES" type="PrepareContextDbEntries">
42
	<DESCRIPTION>Prepare the DB entries</DESCRIPTION>
43
	<PARAMETERS>
44
		<PARAM required="true" type="string" name="eprParam" managedBy="system">db_epr</PARAM>
45
		<PARAM required="true" type="string" name="contextObj" managedBy="system">contexts</PARAM>
46
	</PARAMETERS>
47
	<ARCS>
48
		<ARC to="UPDATE_DB"/>
49
	</ARCS>
50
</NODE>
51

    
52
<NODE name="UPDATE_DB" type="UpdateOpenaireDb">
53
	<DESCRIPTION>Update Db</DESCRIPTION>
54
	<PARAMETERS>
55
		<PARAM required="true" type="string" name="eprParam" managedBy="system">db_epr</PARAM>
56
	</PARAMETERS>
57
	<ARCS>
58
		<ARC to="SAVE_PROFILE"/>
59
	</ARCS>
60
</NODE>
61

    
62
<NODE name="SAVE_PROFILE" type="SaveContextProfile">
63
	<DESCRIPTION>Save the Context Profile</DESCRIPTION>
64
	<PARAMETERS>
65
		<PARAM required="true" type="string" name="contextObj" managedBy="system">contexts</PARAM>
66
	</PARAMETERS>
67
	<ARCS>
68
		<ARC to="success"/>
69
	</ARCS>
70
</NODE>
(1-1/2)