24 #include <epm/libepm_exports.h>
40 #define EPM_select_signoff_team_task "select-signoff-team"
41 #define EPM_perform_signoffs_task "perform-signoffs"
46 #define EPM_user_size_c 163
57 #define EPM_comment2_size_c 4000
62 typedef enum EPM_state_e
78 #define EPM_assign_action 1
79 #define EPM_start_action 2
80 #define EPM_complete_action 4
81 #define EPM_skip_action 5
82 #define EPM_suspend_action 6
83 #define EPM_resume_action 7
84 #define EPM_undo_action 8
85 #define EPM_abort_action 9
86 #define EPM_fail_action 10
88 #define EPM_perform_action 100
89 #define EPM_add_attachment_action 101
90 #define EPM_remove_attachment_action 102
91 #define EPM_approve_action 104
92 #define EPM_reject_action 105
93 #define EPM_promote_action 106
94 #define EPM_demote_action 107
95 #define EPM_refuse_action 108
96 #define EPM_assign_approver_action 109
97 #define EPM_notify_action 110
99 #define EPM_start_on_complete_action EPM_start_action
100 #define EPM_complete_on_complete_action EPM_complete_action
101 #define EPM_start_on_fail_action EPM_fail_action
102 #define EPM_restart_on_complete_action 200
103 #define EPM_restart_on_fail_action 201
104 #define EPM_start_on_start_action 202
105 #define EPM_claim_action 203
109 #define EPM_user_action 1000
118 #define EPM_target_attachment 1
119 #define EPM_reference_attachment 3
120 #define EPM_signoff_attachment 4
121 #define EPM_release_status_attachment 5
122 #define EPM_comment_attachment 6
123 #define EPM_instruction_attachment 7
124 #define EPM_interprocess_task_attachment 8
125 #define EPM_schedule_task_attachment 9
130 #define EPM_ATT_TARGET "target"
131 #define EPM_ATT_REFERENCE "reference"
132 #define EPM_ATT_PROCESS "process"
133 #define EPM_ATT_SIGNOFF "signoff"
134 #define EPM_ATT_COMMENT "comment"
135 #define EPM_ATT_INSTRUCTION "instruction"
136 #define EPM_ATT_INTERPROCESS_TASK "interprocess_task"
137 #define EPM_ATT_SCHEDULE_TASK "schedule_task"
138 #define EPM_ATT_BOTH "both"
139 #define EPM_ATT_ALL "all"
142 #define EPM_user_attachment 1000
146 #define EPM_max_template_name_length 81
150 #define EPM_Perform 0
152 #define EPM_Acknowledge 2
155 typedef enum EPM_path_type_e{
179 #define EPM_RESULT_Unset "Unset"
180 #define EPM_RESULT_Completed "Completed"
181 #define EPM_RESULT_Approved "Approved"
182 #define EPM_RESULT_Rejected "Rejected"
183 #define EPM_RESULT_Unable_to_complete "Unable_to_complete"
184 #define EPM_RESULT_True "True"
185 #define EPM_RESULT_False "False"
186 #define EPM_RESULT_No_error "No_error"
188 #define EPM_comment_size_c 4000
215 #define EPM_RESULT_TRUE 1
216 #define EPM_RESULT_FALSE 0
219 #define EPM_RESULT_UNSET 2
228 #define EPM_inbox_query 1
273 #define EPM_TEMPLATE_BASED_ON_RELATION_TYPE "EPM_template_based_on"
274 #define EPM_SIGNOFF_PROFILE_RELATION_TYPE "EPM_signoff_profile"
275 #define SUBSCRIBED_REMOTEINBOXES_RELATION_TYPE "subscribed_remoteinboxes"
336 const char* handler_name,
339 const char* handler_description,
382 const char* handler_name,
384 const char* handler_description,
419 tag_t workspace_object,
446 int* nb_of_accessors,
478 tag_t** release_status_objects
490 const char* status_type,
521 tag_t release_status,
667 int* procedure_count,
668 char*** procedure_names
704 char **procedure_name
730 tag_t responsible_party,
740 tag_t responsible_party
748 tag_t* responsible_party
812 const char* comments,
852 int** attachment_types
860 const char* object_type,
883 const tag_t* attachments,
884 const int* attachment_types
902 const tag_t* attachments
910 tag_t responsible_party,
941 const char* sub_task_name,
1009 const char* task_name,
1021 int* nb_of_predecessors,
1022 tag_t** predecessor_tasks
1039 const char* group_name,
1041 char*** process_names
1061 const char *object_type,
1073 tag_t workspace_object,
1082 tag_t workspace_object,
1151 char** resourcepool_name
1309 const tag_t* resourcepools
1318 const tag_t* resourcepools
1327 const tag_t *site_tags
1361 tag_t** resourcepools
1385 const tag_t* recipient_tags
1403 tag_t** recipient_tags
1437 tag_t **recipient_tags
1493 const tag_t task_tag,
1494 const char* comments
1507 const tag_t task_tag,
1508 const char* comments
1520 const tag_t task_tag,
1530 const tag_t task_tag,
1531 char **review_task_name
1553 char*** review_task_names
1561 const tag_t job_tag,
1563 int* number_of_tasks,
1609 const char *comments
1623 const char* password
1641 const char *comments,
1642 const char* password
1657 int number_of_object_type_names,
1658 char** object_type_names,
1659 const char* group_name,
1661 tag_t** process_templates
1684 tag_t** required_accessors
1725 const char* description,
1726 const tag_t process_template,
1727 int attachment_count,
1728 const tag_t* attachments,
1729 const int* attachment_types,
1749 const char* description,
1750 const tag_t process_template,
1751 int attachment_count,
1752 const tag_t* attachments,
1753 const int* attachment_types,
1777 const char* description,
1778 tag_t process_template,
1779 const char* privileged_user,
1783 int attachment_count,
1784 const tag_t* attachment_list,
1785 const int* attachment_types,
1786 const char* container_uid,
1787 char* relation_name,
1799 const tag_t process,
1809 const tag_t dependent_task,
1810 const tag_t predecessor_task,
1842 tag_t** unassigned_profile_tags
1853 char*** unassigned_role_names
1867 char*** unassigned_profile_names
1878 char*** required_role_names
1892 char*** required_profile_names
1908 tag_t parent_process_tag,
1910 const tag_t* secondary_processes_tags
1922 tag_t parent_process_tag,
1924 const tag_t* secondary_processes_tags
1936 tag_t parent_process_tag,
1938 tag_t** secondary_processes_tags
1945 tag_t subprocess_tag,
1947 tag_t** parent_processes_tags
1960 const char* list_name,
1963 tag_t proc_template,
1965 int resources_count,
1966 const tag_t* templates_array,
1968 tag_t* new_assn_List
1982 const char* list_name,
1985 tag_t proc_template,
1987 int resources_count,
1988 const tag_t* templates_array,
2007 tag_t* proc_template,
2008 int* resources_count,
2009 tag_t** templates_array,
2018 const tag_t *resources,
2019 const tag_t *profiles,
2023 int wait_for_undecided_reviewers,
2024 tag_t* resource_list
2031 tag_t resource_list,
2033 const tag_t *resources,
2034 const tag_t *profiles,
2038 int wait_for_undecided_reviewers
2050 tag_t resource_list,
2053 int *wait_for_undecided_reviewers,
2086 const tag_t *assn_lists,
2104 tag_t** instance_tags
2112 tag_t** own_list_tags,
2114 tag_t** group_list_tags,
2116 tag_t** other_list_tags
2131 tag_t assignment_list
2150 tag_t assignment_list,
2151 int num_of_templates,
2152 const tag_t* task_templates,
2162 tag_t surrogate_user,
2172 tag_t surrogate_user,
2174 tag_t **claimed_tasks
2189 tag_t task_or_signoff,
2191 int *exceptions_count,
2192 tag_t **exceptions_list
2202 int* surrogate_count,
2203 tag_t** surrogate_users
2217 tag_t task_or_signoff,
2219 int *exceptions_count,
2220 tag_t **exceptions_list
2229 tag_t** own_list_tags,
2231 tag_t** group_list_tags,
2233 tag_t** other_list_tags
2246 tag_t* process_template
2300 const char* review_task_name,
2301 int add_excess_as_adhoc,
2318 int n_group_members,
2319 const tag_t * group_members
2327 int* undecided_reviewer_count
2342 tag_t participant_type,
2351 tag_t* participant_type
2364 const char* participant_value,
2383 const char* participant_value,
2439 const char * privilege,
2451 #define EBR_decision_t EPM_decision_t
2452 #define EBR_undecided EPM_undecided
2453 #define EBR_nogo EPM_nogo
2454 #define EBR_go EPM_go
2456 #define EPM_task_action_t EPM_action_t
2457 #define EPM_task_state_t EPM_state_t
2459 #define EPM_assign_task EPM_assign_action
2460 #define EPM_start_task EPM_start_action
2461 #define EPM_complete_task EPM_complete_action
2462 #define EPM_skip_task EPM_skip_action
2463 #define EPM_suspend_task EPM_suspend_action
2464 #define EPM_resume_task EPM_resume_action
2465 #define EPM_undo_task EPM_undo_action
2466 #define EPM_abort_task EPM_abort_action
2467 #define EPM_do_task EPM_perform_action
2468 #define EPM_project_task_attachment EPM_schedule_task_attachment
2473 #include <epm/libepm_undef.h>