Showing posts with label Oracle Workflow API. Show all posts
Showing posts with label Oracle Workflow API. Show all posts

Saturday, 10 November 2018

Oracle Workflow API:wf_notification.transfer example

Oracle Workflow API:wf_notification.transfer example

In this post , We will discuss about wf_notification API which is uses to transfer the Workflow notification to some other Roles. We can use this API if we want to delegate the Notification to some other Role in the Oracle application. To use this API we need to use the wf_notification.transfer package for this. This Package is uses to delegate the Notification to some other role but this API also does the transfer of the Activity Ownership to other Role. Here below I will share the sample code to use the wf_notification.transfer example.
 

How to use wf_notification.forward example

This procedure forwards a notification to a new role and transfers ownership of the notification to the new role. It also implicitly calls the Callback function specified in the Send or SendGroup function with TRANSFER mode. A comment can be supplied to explain why the forward is taking place. The Transfer feature in the Notification System calls this procedure. Note that when you transfer a notification, the transfer is recorded in the USER_COMMENT field of the notification.

 
Arguments (input)
wCtxWorkflow context information. Required for the Java method only. See: Oracle Workflow Context.
nid The notification id.
new_role or newRole The role name of the person the note is transferred to.
forward_comment or comment An optional comment to append to notification.

Oracle Workflow API:wf_notification.forward example

Oracle Workflow API:wf_notification.forward example

In this post , We will discuss about wf_notification API which is uses to forward the Workflow notification to some other Roles. We can use this API if we want to delegate the Notification to some other Role in the Oracle application. To use this API we need to use the wf_notification.forward package for this. This Package is uses to delegate the Notification to some other role but this API does not transfer the Ownership to other Role.Here below I will share the sample code to use the wf_notification.forward example.
 
 
 

 How to use wf_notification.forward example

 
This procedure delegates a notification to a new role to perform work, even though the original role recipient still maintains ownership of the notification activity. Also implicitly calls the Callback function specified in the Send or SendGroup function with FORWARD mode. A comment can be supplied to explain why the forward is taking place. Existing notification attributes (including due date) are not refreshed or otherwise changed. The Delegate feature in the Notification System calls this procedure. Note that when you forward a notification, the forward is recorded in the USER_COMMENT field of the notification.
Arguments (input)
wCtxWorkflow context information. Required for the Java method only. See: Oracle Workflow Context.
nid The notification id.
new_role or newRole The role name of the person the note is reassigned to.
forward_comment or comment An optional forwarding comment.
 

Contact us for any Collaboration, Project Support & On Job Support Work

Name

Email *

Message *