首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网络技术 > 网络基础 >

转 Building a simple Workflow via "User Decision" and "Mail"

2013-07-08 
转 Building a simple Workflow via User Decision and MailDeveloping a simple application using s

转 Building a simple Workflow via "User Decision" and "Mail"
Developing a simple application using steps "User Decision" and "Mail"

By Suresh Kumar Parvathaneni from link.

?

.

  • .
  • .

    Now enter the title for the user decision “ Please make a decision”. Also enter the decision texts as Approve and Reject. On pressing enter, the outcome values default to the Decision texts but you can specify your own names, if desired. Now we need to select the agent. Agent is the person to whom the work item needs to be sent.. Since this is just a beginning, we would hardcode the user name. Select the User from the drop down list and enter the user name to whom the work item needs to be sent. In general, this type of agent assignment is not done. Agents are generally assigned using the expression, agent assignment rule or organization object (job, position etc.).?

    ?
    Now select 转 Building a simple Workflow via "User Decision" and "Mail"?Transfer and to graphic button. Following screen appears:
    转 Building a simple Workflow via "User Decision" and "Mail"
    Now we need to include a mail step to be sent to the requestor. Now select the line “Approve” and do a right click. Different options on shown on the context menu. Select Create.?
    转 Building a simple Workflow via "User Decision" and "Mail"
    Now select the step “Send Mail” from the list.
    转 Building a simple Workflow via "User Decision" and "Mail"

    Now enter the subject and the body of the message for the mail to be sent.

    转 Building a simple Workflow via "User Decision" and "Mail"
    Do not change the recipients. Our mail is intended for the persons who triggered this workflow. &_WF_INITIATOR& contains the value who executed the workflow. Since this is a test object, we are using &_WF_INITIATOR&. But we wouldn’t be using this variable in real time scenarios. We would discuss about this in the coming documents.

    Now select 转 Building a simple Workflow via "User Decision" and "Mail"?Transfer and to graphic button.
    A popup appears requesting for the abbreviation and the name for this task. Enter the same and press enter.转 Building a simple Workflow via "User Decision" and "Mail"
    Now enter the package as local object and press enter.
    Follow the steps 5 through 9 for the step “Reject”. The following screen appears:转 Building a simple Workflow via "User Decision" and "Mail"
    Press SAVE to save the workflow application. You need to enter an abbreviation and name for your workflow as shown below. You can change any of these at any later point. After saving, a number is assigned to your workflow starting with WS, as shown below.
    转 Building a simple Workflow via "User Decision" and "Mail"
    To execute the workflow, activate it by choosing the activate button.
    Test the workflow by choosing 转 Building a simple Workflow via "User Decision" and "Mail"?Test. The following screen appears.
    转 Building a simple Workflow via "User Decision" and "Mail"

    Now choose 转 Building a simple Workflow via "User Decision" and "Mail"?Execute to start the workflow.
    Now the recipient would receive a work item in his SAP? inbox (Transaction SBWP).

    转 Building a simple Workflow via "User Decision" and "Mail"

    Now execute the work item by pressing “Execute”. The following screen appears:转 Building a simple Workflow via "User Decision" and "Mail"
    Choose one among Approve ?or Reject as part of the user decision. He can select the third option to retain the work item in his inbox and make the decision later. Now suppose that the recipient has chosen one of the first options. Now a mail would be sent to the requestor with the status of his request.

  • 热点排行