wf_EditObjects.xml

Build 1501 on 14/Nov/2017  This topic last edited on: 1/Sep/2014, at 11:30

This global configuration file contains an interactive workflow that edit existing objects. It accepts the list of the ids of the objects to be edited

 

<?xml version="1.0" encoding="utf-8"?>

 

<!--

 Example interactive workflow that edit existing objects.

 It accepts the list of the ids of the objects to be edited

-->

 

<wfres:workFlow

xmlns:wfres="http://www.teradp.com/schemas/GN4/1/WFRes.xsd">

 

 <NavigatorWorkflow

  x:Name="editObjects"

  StartWith="init"

  Description="Edit"

  xmlns="http://www.teradp.com/schemas/GN4/1/Workflow/Activity"

  xmlns:gn4wf="http://www.teradp.com/schemas/GN4/1/Workflow"

  xmlns:common="http://www.teradp.com/schemas/GN4/1/Common"

  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

  xmlns:wf="http://schemas.microsoft.com/winfx/2006/xaml/workflow">

 

   <!--

     Initialization activity: loads the objects to be edited

  -->

 

   <Execute x:Name="init">

 

     <NavigatorWorkflow.Transitions>

       <gn4wf:TransitionCollection>

         <gn4wf:Transition Target="form1"/>

       </gn4wf:TransitionCollection>

     </NavigatorWorkflow.Transitions>

 

     <LoadAccessObjects

      x:Name="initLoad"

      ObjectIds="{wf:ActivityBind editObjects,ObjectIds}"

      ObjsOut='{wf:ActivityBind editObjects,Path=ObjsVars["init"]}'/>

 

   </Execute>

 

   <!--

     Editing the objects loaded

  -->

 

   <EditObjects

    x:Name="form1"

    Objs='{wf:ActivityBind editObjects,Path=ObjsVars["init"]}'>

 

     <ImportAccessObjects

      x:Name='importObjs'

      ObjsIn='{wf:ActivityBind editObjects,Path=ObjsVars["init"]}'/>

 

     <UndoCheckOut

      x:Name='undoCheckOut'

      ActivityRef='form1' />

 

   </EditObjects>

 

 </NavigatorWorkflow>

 

</wfres:workFlow>