Do not let any software impress you!

Only let it convince your intellect.
Slider img 1
Do not look for a business paradise!

It is a waste of time.
Slider img 2
Only yourself can push you uphill.

There is no easy road to prizes.
Slider img 3
Productivity is the name of the game.

And you have to conquer it.
Slider img 4
As long as you understand it,

you will start to build your know-how.
Slider img 5
We can help with that.

We have the tools and the method.
Slider img 6

Agent Handling



       bpm_getrecid ()


       bpm_getrecid ( activity_no )


       bpm_getrecid ( activity_no, step_no )


       bpm_getrecid ( activity_no, step_no, process_id )


This function returns the record used during activity number activity_no and step number step_no and process id the process_id. Usually, there are as default values the current activity, current step, and current process.

       agent_create ( aname )


This function creates a running agent using the prototype agent aname and returns the handle of the agent.

       agent_run ( ahandle, p1,...,p10 )


This procedure starts the action plan of the agent with handle ahandle. The parameters p1,...,p10 are optional and can be omitted. The agent first must be created by agent_create. It can be called both “call“ and “callwait“

       agent_free ( ahandle )


This procedure frees the agent with handle ahandle.

       agent_setvar ( varname )


We call this procedure inside the action code of an agent. The varname becomes public for all other agents. If another agent calls the agent_getvar function, it can get the value(s) of varname.

       agent_getvar ( ahandle, varname, varoff )


This function returns the variable varname with offset varoff of the agent ahandle. A call must previously set the variable to agent_setvar into the corresponding agent‘s action code.

       OnOpenForm_DisableAllFields()


We use the DisableAllFields when the fields of a form are too many, and it is better to disable all fields and then enable only a few fields we want. Keep in mind that in this case, the contents of the fields are visible to the user.

       OnOpenForm_HideAllFields()


We use the HideAllFields when the fields of a form are too many, and it is better to hide all fields and then show only a few fields we want.

       OnOpenForm_EnableField ( fieldname )


If we have used the DisableAllFields then the EnableField enables the fieldname field of the form.

       OnOpenForm_DisableField ( fieldname )


       Disables the field fieldname.


       OnOpenForm_HideField ( fieldname )


       Hides the field fieldname.


       OnOpenForm_ShowField ( fieldname )


If we have used the HideAllFields then the ShowField becomes visible in the fieldname field of the form.

       OnOpenForm_RequiredField ( fieldname )


The RequiredField specifies a field fieldname as a required one. The form does not save to the database until the field we have filled in with data. The prompting label of the field becomes bold to notify the required of the field.

       OnOpenForm_SetValue (“fieldname,val,displayval“)


The SetValue presets the value of a form field fieldname to the value val. If the fieldname represents a lookup field (foreign key), then the displayval is also required. (the val, in this case, is kept internally while the displayval is displayed)

       bpm_startcoordinator ( aname, p1,...,p10 )


       bpm_startplanner ( aname, p1,...,p10 )


       bpm_startexpert ( aname, p1,...,p10 )


       bpm_startagent ( aname, p1,...,p10 )


This procedure creates an agent according to the prototype aname and activates the new agent. The parameters p1,..p10 are optional and can be omitted. The variation _debug is for debug purposes from the side of the programmer. The variations “coordinator“, “expert“, “planner“, “agent“ are given for clarification into the code context.

       bpm_assign_job ( step_descr, uname, rname, date0, p1, ..., p10 )


This procedure assigns the activity step_descr to user uname or role rname. If the assignment occurs at a later time, the date0 is this time as a number. The parameters can pass to the user as p1,..,p10, and we can omit them. This, can we call it as “call“ or “callwait“. Also, we call this procedure inside the action code of a coordinator.

       id = bpm_assign_info ( info_descr, uname, rname, p1, ..., p10 )


This function assigns a piece of information named info_descr to user uname or role rname. The parameters can pass to the user as p1,..,p10, and we can omit them. The returned value id is the unique field value of the AU_STEP record.

       bpm_event ( event_descr, p1, ..., p10 )


This procedure waits for the event event_descr to happen. There is no user interaction at all. The system checks only the validation code section of this event to see if a value of result (1) returns to continue executing the coordinator workflow. Can we pass the parameters as p1,..,p10, and we can omit them. Also, we can call it “callwait.“ Finally, we call this procedure inside the action code of a coordinator.

       bpm_setprocedurecomment ( comm )


This procedure sets the comment of a coordinator agent to comm. We can call it inside the agent‘s action code.

       bpm_setstepcomment ( comm )


This procedure sets the comment of a coordinator agent to comm, especially for the activity to follow. We can call it inside the agent‘s action code.

       bpm_setprocedureowner ( uname )


This procedure sets the coordinator‘‘ owner user as uname. Thus, the procedure owner can see from his terminal all of the paths of the coordinating procedure.

       agent_view ( ahandle )


This procedure opens a form for the agent with handle ahandle and only shows the agent‘s status for administrative purposes.

       bpm_setsteptimelimit ( tlimit )


This procedure sets the time limit of the activity (defined in days)

       bpm_setstepfinaldate ( fin_date )


This procedure sets the final date of the activity (as a date string)

       bpm_setstepmonitor ( monitor_flag )


This procedure sets the monitoring of the activity (True or False)

       bpm_setstepstay ( stay_flag )


This procedure sets the staying property of the activity (True or False)

       bpm_setstepday ( day_off )


This procedure sets the day to offset from the starting of the procedure (as a number)

       bpm_setstepparent ( parent_id )


This procedure sets the parent activity of the activity.

       bpm_setsteppriority ( priority )


This procedure sets the priority of an activity (smaller number is (1))

       bpm_setstepcomment ( comm )


This procedure sets the comments of the activity.

       bpm_setsteprgroup ( rgroup )


This procedure sets the resource group of the activity.

       bpm_setstepid ( step_id )


This procedure sets the id record of the activity that is going to be issued.

       bpm_setstepactivity ( activity )


This procedure sets the “Activity“ field of the activity.

       bpm_setstepbusiness ( business_id )


This procedure sets the business id of the activity.

       bpm_setstepgood ( product_id )


This procedure sets the product id of the activity.

       bpm_setstepcontact ( contact_id )


This procedure sets the contact id of the activity.

       bpm_setstepinfo ( info1, info2, info3, info4 )


This procedure sets relations between activities and other entities. For example:

       call bpm_setstepinfo(“RELATED_BUSINESS“, “AU_BUSINESS“, “Customer of the sale“)