Вы находитесь на странице: 1из 3

RTL TECHNOLOGIES

(WORKFLOW FAQS)
What are the activities in the workflow builder?
WF Functions
Notificaiton
Messages
LookupTypes
Events
Attributes
Processes
How to set or get the attribute values from backend?
We can set or get the attribute values from backend by using two APIs
To set: for number attribute give number for text give text
wf_engine.getitemattrnumber( itemtype ,
itemkey
aname);
To get:
wf_engine.setitemattrtext ( itemtype,
itemkey,
aname,
avalue);
How to attach the form to notification?
We can attach the form to notification by assigning attribute type as Form
Assigning that attribute to message
then message to notification.
What is performer field?
Performer field is used to assign the name of the role to which to send the notification message.
What are the access levels?
The following range of levels are presumed by Oracle Workflow:
09
Oracle Workflow
1019
Oracle Application Object Library
2099
Oracle Applications development
100999 Customer organization. You can determine how you want this range to be interpreted.
For example, 100 can represent headquarters, while 101 can represent a regional office,
and so on.
1000
Public
What are the modes we have in work flow function?
Funcmode: The execution mode of the activity. If the activity is a function activity, the mode is either RUN or
CANCEL. If the activity is a notification activity, with a postnotification function, then the mode
can be RESPOND, FORWARD, TRANSFER, TIMEOUT, or RUN. Other execution modes
may be added in the future.
What is lookuptypes?
List of values by using lookup types we can change the process execution dynamically
What is runnable check box?
If we check the check box that process can be executed directly otherwise we have to call the process from
another process we cannot run directly.
How to launch the workflow from backend?
We can execute the workflow from backed by using API
Launch:
wf_engine.launchprocess(Itemtype,
Itemkey,
Process,
Userkey,
Owner-role);
Or by using these two

RTL TECHNOLOGIES
(WORKFLOW FAQS)
Create and Start:
wf_engine.createprocess(Itemtype,
Itemkey,
Process,
Userkey,
Owner-role);
wf_engine.startprocess (Itemtype,
Itemkey);
How to change the performer name dynamically?
We can set the performer to an item attribute
Assign the value to the itemAttribute by using WF_engine.SetItemAttrtext API
What is expand roles checkbox?
Check Expand Roles to send an individual copy of the notification message to each user in the role. The
notification
remains in a users notification queue until the user responds or closes the notification.
Check Expand Roles so that the Workflow Engine polls for responses from the multiple users in the role rather
than just from the first user in the role that replies.
What is notification function?
Will be executed after the notification is delivered to the user.
What is ItemKey and UserKey?
ItemKey: A string that represents a primary key generated by the workflow to track the process uniquely.
Userkey: The user key to assign to the item identified by the specified item type and item key. If userkey is null,
Then no userkey is assigned to the item instance.
Can we have the itemtype without a process?
We can create itemtype without a process but we cant execute(Run) it.
How to load the workflow from one instance to another instance?
Data upgrade to a database from an input file,type:
wfload <username/password@database><input_file>

To upload process definitions from an input file to a database,


type:
wfload u <username/password@database><input_file>

To force an upload of the process definitions from an input file to a database regardless of an objects protection
level, type:
wfload f <username/password@database><input_file>

What are synchronous and asynchronous?


A workflow process can be either synchronous or asynchronous.
Synchronous process is a process that can be executed without WF Functions and Database activities.
Asynchronous process we can use all DB actions and execute the activities. This is default.
Can we have commit inside the workflow?
We can but not preferred because we execute the workflow in oracle apps which is auto commit.
How to change the workflow process dynamically?
By using lookup types we can change the workflow process dynamically.

RTL TECHNOLOGIES
(WORKFLOW FAQS)
How to execute workflow from SRS window?
By creating a procedure to launch the work flow and then register it as executable program as PL/SQL
procedure
And assign to a responsibility and run that program in SRS.
How to track errors in the workflow?
WF_CORE. API
CLEAR
GET_ERROR
TOKEN
RAISE
CONTEXT
TRANSLATE

Вам также может понравиться