FindWorkflowSystemFunctionsInER

Find Workflow System Function Calls

Major Business Rule

Object Name: B9000100

Parent DLL: CWRKFLOW

Location: Client

Language: C

1.Functional Description

1.1Purpose
This function searches the ER specs for a given object for calls to workflow system functions.  The object can be an application, UBE, business function, 
or table.  The function searches the F98740 and F98741 tables for ER specs that call one of the following system functions:

• Complete Activity
• Get Activity Instance for Key
• Get Process Instance Attribute
• Get Process Instance for Key
• Start Composer Process
• Start Process
• Update Process Instance Attribute
• Update Process Instance Attribute Single
When a call to a system function is found, the business function inserts a record into the Workflow System Function cache so that the information can 
be fetched out of cache by the report R9000090, Workflow Where Used.


1.2Setup Notes and Prerequisites

This business function writes a record to the Workflow System Function cache that is managed by function B9000110.  The calling application must call 
B9000110 to initialize the cache prior to calling this function.  In addition, the calling application must also call B9000110 to terminate the cache when 

processing is complete.


1.3Special Logic

If the input object is a NER, the business function reads the F9862 table before reading F98741.  For NERs, the F9862 table contains the ER spec key that 
is used to access the detail specs in F98741.


^

Data Structure

D9000100 - Find Workflow System Function Calls

Parameter NameData ItemData TypeReq/OptI/O/Both
szObjectNameOBNMcharREQINPUT

The name that identifies a system object. J.D. Edwards ERP architecture is object-based. Discrete software objects are the building blocks 
for all applications, and developers can reuse the objects in multiple applications. The Object Librarian tracks each object. Examples of 
system objects include:   o Batch Applications (such as reports)   o Interactive Applications   o Business Views   o Business Functions   o 
Business Functions Data Structures   o Event Rules   o Media Object Data Structures

szObjectTypeFUNOcharREQINPUT

The type of object with which you are working. For example, if you are working with tables the object type is TBLE, or business functions is 
BSFN.

szDataSourceDATPcharREQINPUT

Data Source to use for reading ER spec tables (F9840, F9841, F9850, F9851, F9860, F9861)
^

cErrorCodeERRCcharOPTOUTPUT

'0'  Success (Default)
'1' - Error in  functionab 


^

szErrorMessageIDDTAIcharOPTOUTPUT

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

cSuppressErrorMessagesEV01charOPTINPUT

An option that specifies the type of processing for an event.

szJobNumberJOBcharREQINPUT

Used to form unique cache name for this  process.ab 

^

iNumberOfFunctionsFoundINT01integerREQOUTPUT

The number of records inserted into the cache for this  object.ab 

^

szSourceLanguageSRCLNGcharREQINPUT

The source language code identifies the programming language in which a business function is written.

Related Functions

B9000110 Cache ER Workflow System Function Data
B9800207 Get Current Environment
B9800560 Source Search

Related Tables

F9862 Object Librarian - Function Detail
F98740 Event Rules - Link Table
F98741 Event Rules - Specification Table
F98750 Forms Design Aid Text Information
F98751 Forms Design Aid Specification Information
F98760 Report Design Aid Text Information
F98761 Report Design Aid Specification Info
F98EVHDR Event Header File