`
evangxli
  • 浏览: 230880 次
  • 性别: Icon_minigender_1
  • 来自: 大连
社区版块
存档分类
最新评论

转 Trigger a workflow to send an email whenever a material is created

 
阅读更多

Triggering workflow to send an email whenever a material is created

By Chandrasekhar V, EDS, from link.

This example focuses on triggering a workflow whenever a material is created using MM01. 
TCode SWDD(Workflow builder) -> Click on “Create” button

 

Drag and drop the “User decision” step. Enter the following details

Select the agents “Workflow initiator (expression)” and click on “Transfer and to graphic” (tick mark button).

Following screen appears.

Drag and drop “Activity” step into branch YES,

Create new task click on the “Display task” -> Create task

Enter the “work item text” in the same screen as follows: 

To get “&_WI_OBJECT_ID.MATERIAL&” in above screen, click “insert variable” icon (above that yellow icon).

Save in local package.

Go to “Additional data” menu “Agent assignments” -> “Maintain”. 

 

Select it and click on “Attributes” from application toolbar and select “General task” radio button, click “Transfer”

Click on back 2 times.

Click on “continue”.

Select “Workflow initiator” as Agents and click on “Transfer and to graphic” button

To create the workflow container

Select “workflow container” and double click on “BUS1001006” in the list displayed.

Click on properties tab and select the import check box and click on ok

Again open user decision, which was already created, and make changes as bellow

In Parameter1 click F4 and select Material number as bellow

Click on “transfer and to graphic”

Right click on branch “No” to send a mail

Double click on “send mail”.

Enter the following details as in the below screen

Click on “Transfer and to graphic”

Save in a local package

Click on the “Basic data(ctrl+F8)” from application toolbar and select “Start events” tab

Enter the details as in bellow screen

Click on “Binding” 

Click on ok

Save and come back to graphic, the following screen will appear

 

Save, activate and execute.

Go to TCode “MM01” to create the material 

Enter the details in MM01 and click on “Select view” -> “Basic data1”

Enter the details in Second screen as below: 

Save and come back.

Check your inbox by using TCode SBWP.  

Double click on “Work item executable”

Click yes or no and check your inbox again

 

分享到:
评论

相关推荐

    Workflow-An Introduction

    Workflow-An Introduction,英文版

    Creating an SAP Workflow with Workflow Builder

    Learn about the main features of the Workflow Builder, and build a foundation of knowledge to start your own development. Discover how to ...to create a workflow, and send a workflow to production.

    Beginning WF: Windows Workflow in .NET 4.0

    Windows Workflow Foundation is a ground-breaking addition to the core of the .NET Framework that allows you to orchestrate human and system interactions as a series of workflows that can be easily ...

    An Overview of Workflow Management:From Process Modeling to Workflow Automation Infrastructure

    ### 工作流管理概述:从过程建模到工作流自动化基础设施 #### 一、引言与背景 在当今全球化的商业环境中,企业面临着日益激烈的竞争压力,为了保持竞争力,企业必须降低成本、快速开发新产品和服务。...

    Building.Tools.with.GitHub.Customize.Your.Workflow.epub

    Use Jekyll to create a fully-featured blog from material in your GitHub repository Create an Android mobile application that reads and writes information into a Jekyll repository Host an entire single...

    a workflow framework for grid services

    标题中提到的关键技术点是“a workflow framework for grid services”,即“用于网格计算的工作流框架”。网格计算(Grid Computing)是一种分布式计算的形式,它将多个独立的计算资源通过网络连接起来,共同工作以...

    To add a new job login workflow

    在“Workflow”选项卡下,我们会看到工作流的根节点,对于“Job Login Workflow”来说,这个根节点不包含任何参数。接着,我们需要定义工作流的结构。工作流由各种节点组成,每个节点都有特定的功能: 1. **Create ...

    TMS Workflow Studio v1.9.0.0 Full Source

    Workflow Studio is a Delphi/C++Builder VCL framework for Business Process Management (BPM). With Workflow Studio you can easily add workflow and BPM capabilities to your application,by allowing you or...

    developing a reusable workflow engine

    文章“Developing a Reusable Workflow Engine”由Diogo M. R. Ferreira和J. J. Pinto Ferreira撰写,发表于《系统架构杂志》(Journal of Systems Architecture)2004年6月的第50卷,第6期。文章的关键词包括工作流...

    TMS Workflow Studio v1.8.1.1 Full Source (D7 to XE4)

    Workflow Studio is a Delphi/C++Builder VCL framework for Business Process Management (BPM). With Workflow Studio you can easily add workflow and BPM capabilities to your application,by allowing you or...

    Pro WF - Windows Workflow in .NET 4.pdf

    Windows Workflow Foundation (WF) is a revolutionary part of the .NET 4 Framework that allows you to orchestrate human and system interactions as a series of workflows that can be easily mapped, ...

    Android代码-workflow

    workflow An architecture that allows ...Workflow is a library for making composable state machines, and UIs driven by those state machines. This project is under active development. The workflow cod

    Web Redesign 2.0 Workflow That Works.chm

    The workflow of a project is exactly that: a planned flow for the work involved. We did not suddenly think, "Web redesign, now there's a topic for a book." The concepts behind this book have evolved ...

    PDF to JPG.workflow

    总结来说,"PDF to JPG.workflow"是一款实用的工具,对于需要频繁进行PDF转JPG操作的用户来说,它提供了便捷高效的解决方案。不过,用户在使用时也应注意根据实际需求调整参数,以获得最佳的转换结果。同时,对于有...

    Laravel开发-workflow

    'Workflow' => \Symfony\Component\Workflow\Workflow::class, ``` 现在我们已经准备好了基础架构,可以开始定义工作流了。在 Laravel 中,可以创建一个新的 PHP 类来表示工作流定义。例如,创建一个 `src/...

    Content authoring.zip

    Move an item to the next workflow state Clones Clone and unclone an item Clone multiple items The impact of versions on clones Item buckets Convert an item into an item bucket Make an item a ...

    Efficient R Programming: A Practical Guide to Smarter Programming

    Efficient R Programming: A Practical Guide to Smarter Programming English | 31 Jan. 2017 | ISBN: 1491950781 | 222 Pages | AZW3/MOBI/EPUB/PDF (conv) | 8.59 MB There are many excellent R resources for ...

Global site tag (gtag.js) - Google Analytics