"EBS WORKFLOW" workflow uses the document type's message properties

Source: Internet
Author: User

Workflow uses the Document type message property

The message content of the workflow, the simplest of which is text, or static HTML text, but can be met with limited circumstances.
A lot of times the workflow is going to show a list, not sure how many rows it has, so it can't be set in advance, and it's not possible to enumerate all the variables.
This is the time to use the dynamic message content, which is the message property of the document type described in this article.

Development steps

  1. Define a stored procedure to dynamically get the content of a message

    Oracle Workflow Developer ' s Guide 6-12

    1. PROCEDURE get_request_msg(document_id IN VARCHAR2,
    2. display_type IN VARCHAR2,
    3. document IN OUT NOCOPY VARCHAR2,
    4. document_type IN OUT NOCOPY VARCHAR2)
    • DOCUMENT_ID: Pass a unique identifier, as long as you can get the dynamic content you want based on this ID
    • Display_type:text/html (see DG for other types)
    • Document: This example is the content of the HTML, in the process to spell up can
    • Document_type:text/html (see DG for other types)
  2. Create attribute (here I am the local attribute of the definition, not the global property of the workflow, because this property does not need to be assigned globally, is dynamically fetched)

  3. Set the type of the property to document
  4. Set the value of the default value to:plsql:[程序包名.]过程名/document_id

    Grammar:plsql:<procedure>/<document_identifier>

Attention
    1. Because it is a dynamic message, the background process is called every time it is opened, and if the approval process requires documentation, it is best to make the appropriate logic.
    2. Cancellation of the process is best not often modified, if modified, also to be selected in the current notification less time update, because the database updates the package, in the workflow
      Will not be reflected in the first time, there will be no package found in the case.



From for notes (Wiz)



"EBS WORKFLOW" workflow uses the document type's message properties

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.