zoukankan      html  css  js  c++  java
  • SharePoint Workflow 定义文件示例

    <?xml version="1.0" encoding="utf-8" ?>
    <SPSWorkflow>
     <States>
      <State Name="新报告" DocumentLibraryTitle="新报告">
       <Properties>
        <Property Name="提交状态">
         <Commands>
          <Command Value="提交给领导">
           <Actions>
            <Action Assembly="" Type="Kaneboy.SPSWorkflow.Actions.Move" Parameter="部门经理报告库" />
            <Action Assembly="" Type="Kaneboy.SPSWorkflow.Actions.SetField" Parameter="入库时间=@Now" />
           </Actions>
          </Command>
         </Commands>
        </Property>
       </Properties>
      </State>
      <State Name="部门经理报告库" DocumentLibraryTitle="部门经理报告库">
       <Properties>
        <Property Name="报告处理状态">
         <Commands>
          <Command Value="打回">
           <Actions>
            <Action Assembly="" Type="Kaneboy.SPSWorkflow.Actions.Move" Parameter="新报告" />
            <Action Assembly="" Type="Kaneboy.SPSWorkflow.Actions.SetField" Parameter="审批人=@UserName" />
           </Actions>
          </Command>
          <Command Value="提交给老总">
           <Actions>
            <Action Assembly="" Type="Kaneboy.SPSWorkflow.Actions.Copy" Parameter="总经理报告库" />
            <Action Assembly="" Type="Kaneboy.SPSWorkflow.Actions.SetField" Parameter="入库时间=@Now" />
           </Actions>
          </Command>
         </Commands>
        </Property>
       </Properties>
      </State>
      <State Name="总经理报告库" DocumentLibraryTitle="总经理报告库">
       <Properties>
        <Property Name="报告处理状态">
         <Commands>
          <Command Value="打回">
           <Actions>
            <Action Assembly="" Type="Kaneboy.SPSWorkflow.Actions.Move" Parameter="部门经理报告库" />
            <Action Assembly="" Type="Kaneboy.SPSWorkflow.Actions.SetField" Parameter="入库时间=@Now" />
           </Actions>
          </Command>
          <Command Value="通过">
           <Actions>
            <Action Assembly="" Type="Kaneboy.SPSWorkflow.Actions.Move" Parameter="已被审批通过的报告" />
            <Action Assembly="" Type="Kaneboy.SPSWorkflow.Actions.SetField" Parameter="通过审批时间=@Now" />
           </Actions>
          </Command>
         </Commands>
        </Property>
       </Properties>
      </State>
     </States>
    </SPSWorkflow>
  • 相关阅读:
    Exploits Likely Leveraged by Russia’s APT28 in Highly-Targeted Attack
    WAF绕过的一些总结和思考
    PHP SAFE MODE BYPASS
    RAS算法原理
    如何绕过WAF
    360手机助手关于签名校验的分析
    cat 命令详解
    面向对象简介
    APK签名及简单反编译
    面向对象之基本概念 封装、单多继承
  • 原文地址:https://www.cnblogs.com/kaneboy/p/2436757.html
Copyright © 2011-2022 走看看