Vous trouverez ici un exemple du fichier d'exportation XML d'un objet Workflow.
Par exemple :
<?xml version="1.0" encoding="ISO-8859-1"?> - <uc-export clientvers="3.02"> - <JOBP client="0003"name="JOBP.DATABASE_MAINTENANCE" system="UCGLOBAL"> - <XHEADER state="1"> <Title/> <Created>John Smith on: 2004-06-25 14:48:40</Created> <Modified>John Smith on: 2005-03-23 17:07:27 11 x</Modified> <LastUsed/> <ArchiveKey1/> <ArchiveKey2/> <ExtRepDef>1</ExtRepDef> <ExtRepAll>0</ExtRepAll> <ExtRepNone>0</ExtRepNone> </XHEADER> - <SYNCREF state="1"> <Syncs/> </SYNCREF> - <ATTR_JOBP state="1"> <StartType/> <IntAccount/> <AutoDeactNo>0</AutoDeactNo> <AutoDeact1ErrorFree>0</AutoDeact1ErrorFree> <AutoDeactErrorFree>1</AutoDeactErrorFree> <DeactWhen/> <AutoDeactAlways>0</AutoDeactAlways> <DeactDelay>0</DeactDelay> <ActAtRun>0</ActAtRun> <UC4Priority>0</UC4Priority> <MaxParallel2>0</MaxParallel2> <ReuseHG>1</ReuseHG> <MpElse1>1</MpElse1> <MpElse2>0</MpElse2> <TZ/> <RWhen/> <RExecute/> </ATTR_JOBP> - <JOBP state="2"> - <JobpStruct mode="design"> + <task Col="1" Idnr="0" Lnr="1" OType="<START>" Object="START" Row="1" State="" Text1="" Text2="" Text3="<START>" Text4="" Text5="" Text6=""> - <task Col="2" Idnr="1243011" Lnr="2" OType="JOBS" Object="JOBS.ARCHIVE" Row="1" State="" Text1="" Text2="A|R" Text3="WIN01" Text4="" Text5="00/20:00" Text6=""> <checkpoint TcpADays="0" TcpATime="00:00" TcpATimeTZ="" TcpExecute="" TcpOn="0"/> <after ActFlg="1" AtimOn="1" ErlstStDays="0" ErlstStTime="20:00" ErlstStTimeTZ="" HoldFlg="0"/> <when ChkWhenExec="0" LtstEnd="0" LtstEndDays="0" LtstEndTime="00:00" LtstSt="0" LtstStDays="0" LtstStTime="00:00" LtstTimeTZ="" WCTypeAND="1" WCTypeOR="0" WElseA="0" WElseH="1" WElseS="0" WElseX="0" WhenExecute="" WtimOn="0"/> - <predecessors CaleOn="1"> <pre PreLnr="1" When=""/> - <preconditions> - <PreCon> <conditions id="CONDITIONS"/> </PreCon> </preconditions> </predecessors> <runtime MrtCancel="0" MrtDays="0" MrtErt="0" MrtExecute="0" MrtExecuteObj="" MrtFix="0" MrtMethodDate="0" MrtMethodErt="0" MrtMethodFix="0" MrtMethodNone="1" MrtOn="1" MrtTZ="" MrtTime="00:00" SrtErt="0" SrtFix="0" SrtMethodErt="0" SrtMethodFix="0" SrtMethodNone="1"/> - <postconditions> - <PostCon> <conditions id="CONDITIONS"> - <condition active="1" id="STATUS" once="0" type="C" uiinfo=""> - <params> - <param altview="0" name="xc_p01" type="V" value="ENDED_OK"/> </params> <when active="1" id="STATUS" once="0" type="W" uiinfo=""/> - <else active="1" id="STATUS" once="0" type="E" uiinfo=""> - <action active="1" id="EXECUTE OBJECT" once="0" type="A" uiinfo=""> - <params> <param altview="0" name="xc_p01" type="V" value="BSP_CALL01"/> <param altview="0" name="xc_p02" type="V" value="<PARAMETERN...>"/> <param altview="0" name="xc_p03" type="V" value="##911011"/> </params> </action> - <action active="1" id="BLOCK" once="0" type="A" uiinfo=""> - <params> <param altview="0" name="xc_p01" type="V" value="Aufgabe &$NAME# abnormal beendet."/> </params> </action> </else> </condition> </PostCon> <postconditions> - <dynvalues> - <dyntree> - <node content="1" id="VALUE" name="Values" parent="" type="TASKVALUE"> - <VALUE state="2"> - <Values> <row Mod="1" Name="&HOST#" Value="WIN02"/> </Values> <Mode>1</Mode> </VALUE> s </node> +<node content="1" id="PVALUE" name="Parent Values" parent="" type="TASKVALUE"> <node content="0" id="PRPTS" name="Prompt Sets" parent="" type="PROMPTSET"/> <node content="0" id="PPRPTS" name="Parent Prompt Sets" type="PPROMPTSET"/> + <node content="1" id="PRPT.JOBS01" name="PRPT.JOBS01" parent="PRPTS" type="PROMPTSET"> + <node content="1" id="PRPT.JOBS01" name="PRPT.JOBS01" parent="PPRPTS" type="PPROMPTSET"> </dyntree> </dynvalues> <calendars CCTypeAll="0" CCTypeNone="0" CCTypeOne="1" CaleOn="0"/> </task> + <task Col="3" Idnr="1243015" Lnr="3" OType="JOBS" Object="JOBS.REORGANIZE" Row="1" State="" Text1="" Text2="" Text3="WIN01" Text4="" Text5="" Text6=""> + <task Col="4" Idnr="1243016" Lnr="4" OType="JOBS" Object="JOBS.UNLOAD" Row="1" State="" Text1="" Text2="" Text3="WIN01" Text4="" Text5="" Text6=""> </JobpStruct> </JOBP> - <RUNTIME state="1"> <MaxRetCode>0</MaxRetCode> <FcstStatus>1900|ENDED_OK - Ended normally</FcstStatus> <Ert>0</Ert> <ErtMethodDef>1</ErtMethodDef> <ErtMethodFix>0</ErtMethodFix> <ErtFix>0</ErtFix> <ErtDynMethod>2|Average</ErtDynMethod> <ErtMethodDyn>0</ErtMethodDyn> <ErtCnt>0</ErtCnt> <ErtCorr>0</ErtCorr> <ErtIgn>0</ErtIgn> <ErtIgnFlg>0</ErtIgnFlg> <ErtMinCnt>0</ErtMinCnt> <MrtMethodNone>1</MrtMethodNone> <MrtMethodFix>0</MrtMethodFix> <MrtFix>0</MrtFix> <MrtMethodErt>0</MrtMethodErt> <MrtErt>0</MrtErt> <MrtMethodDate>0</MrtMethodDate> <MrtDays>0</MrtDays> <MrtTime>00:00</MrtTime> <MrtTZ/> <SrtMethodNone>1</SrtMethodNone> <SrtMethodFix>0</SrtMethodFix> <SrtFix>0</SrtFix> <SrtMethodErt>0</SrtMethodErt> <SrtErt>0</SrtErt> <MrtCancel>0</MrtCancel> <MrtExecute>0</MrtExecute> <MrtExecuteObj/> </RUNTIME> - <DYNVALUES state="1"> - <dyntree> - <node content="1" id="VALUE" name="Values" parent="" type="VALUE"> - <VALUE state="1"> - <Values> <row Name="&HOST#" Value="unix01" /> </Values> <Mode>0</Mode> </VALUE> </node> - <node content="1" id="PRPT1" name="PRPT1" parent="PRPTS" type="PROMPTSET"> - <PROMPTSET client="0098" idnr="001240008" name="PRPT1" ontop="1" src="oh" system="UC4"> - <PRPTBOX promptset="PRPT1" prptmode="1"> <integer1 altview="0" haslist="0">6</integer1> <textfield2 altview="0" haslist="0">text</textfield2> <radiogroup1 altview="0" haslist="0">9</radiogroup1> <checklist1 altview="0" haslist="0">41;50</checklist1> <checkgroup1 altview="0" haslist="0">3</checkgroup1> <combobox9 altview="0" haslist="0">3</combobox9> <date1 altview="0" haslist="0">2010-08-29</date1> <timestamp1 altview="0" haslist="0">2010-08-17 10:00:00</timestamp1> <time2 altview="0" haslist="0">15:01</time2> </PRPTBOX> </PROMPTSET> </node> </dyntree> </DYNVALUES> - <SCRIPT state="1"> <MSCRI/> </SCRIPT> -<DOCU_General state="1"type="text"> <DOC/> </DOCU_General> </JOBP> </uc-export>
Rubriques connexes :
WorkflowStructure du fichier d'exportationStructure des fichiers XML pour l'importation et l'exportation