Please enable JavaScript to view this site.

Process Designer

The JobRouter App and the Mobile Client have a reduced JavaScript API. However, the available functions can be used as in JobRouter, with some restrictions. The following table provides an overview of the available functions.

Function

JobRouter App

Mobile Client

jr_get_value

jr_set_value

jr_hide

jr_show

jr_set_disabled

jr_set_required

jr_sql_refresh

jr_allow_send

 

jr_disable_send

 

jr_enable_send

 

jr_date_add

 

jr_date_diff

 

jr_execute

(currently only "send")

 

jr_execute_dialog_function

 

jr_get_display_value

 

jr_message

 

jr_get_message

 

jr_open_window_in_app

 

jr_get_steplabel

 

jr_set_steplabel

 

jr_select_page

 

jr_hide_page

 

jr_show_page

 

jr_set_readonly

 

jr_is_disabled


jr_is_required


jr_is_visible


jr_notify_error


jr_notify_info


jr_notify_success


jr_notify_warn


jr_get_table_count


jr_get_table_max_id


jr_get_table_value


jr_get_subtable_count


jr_get_subtable_max_id


jr_get_subtable_row_ids


jr_get_subtable_value


jr_set_subtable_value


jr_subtable_refresh


Please note: In order to prevent errors and ensure safe use, the dialog scripts are executed in a sandbox. For this reason only the API, your own functions and standard JavaScript functions are availabl, nut no external libraries (e. g. jQuery).