Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Stardust/Knowledge Base/Java API"

(Process and Activity Instance Lifecycle)
 
(21 intermediate revisions by 6 users not shown)
Line 7: Line 7:
 
== Process and Activity Instance Lifecycle  ==
 
== Process and Activity Instance Lifecycle  ==
  
*[[Stardust/Knowledge_Base/API/JavaAPICookbook/Stardust Workflow Service in Action|Stardust Workflow Service in Action]]  
+
*[[Stardust/Knowledge Base/API/JavaAPICookbook/Stardust Workflow Service in Action|Stardust Workflow Service in Action]]  
 
**Starting a Process  
 
**Starting a Process  
 
**Activating and completing an Activity  
 
**Activating and completing an Activity  
Line 16: Line 16:
 
**Submitting Process Data<br>
 
**Submitting Process Data<br>
  
*[[Stardust/Knowledge_Base/API/ExamplesofAPIUsage/StartProcess|Start a process]]  
+
*[[Stardust/Knowledge Base/API/ExamplesofAPIUsage/StartProcess|Start a process]]  
*[[Stardust/Knowledge_Base/API/ExamplesofAPIUsage/CompleteAnActivity|Complete an Activity]]  
+
*[[Stardust/Knowledge Base/API/ExamplesofAPIUsage/CompleteAnActivity|Complete an Activity]]  
*[[Stardust/Knowledge_Base/API/ExamplesofAPIUsage/AttachADocument|Attaching a document to a process instance]]<br>  
+
*[[Stardust/Knowledge Base/API/ExamplesofAPIUsage/AttachADocument|Attaching a document to a process instance]]<br>  
*[[Stardust/Knowledge_Base/API/ExamplesofAPIUsage/Initialization|Initialization]]  
+
*[[Stardust/Knowledge Base/API/ExamplesofAPIUsage/LinkProcesses|Linking two process instances]]<br>  
*[[Stardust/Knowledge_Base/API/JavaAPICookbook/EventHandling|Event Handling]] - binding and unbinding event handler vai the API<br>
+
  
<br>
+
== Monitoring, Events and Event Actions ==
 +
 
 +
*[[Stardust/Knowledge_Base/Java_API/Event_Binding|Event Binding]] - binding and unbinding event handler via the API<br>
 +
*[[Stardust/Knowledge_Base/Java_API/Dynamic_Event_Binding|Binding a Process Timer Through API]]
 +
*[[Stardust/Knowledge Base/Java API/Dynamic Event Binding| Dynamic Event Binding]] dynamic event binding of a process timer event
 +
*[[Stardust/Knowledge_Base/Java_API/IWorklistMonitor_Example|IWorklistMonitor Example Implementation]] - sending push notifications or triggering other system activity when a worklist content changes<br>
 +
*[[Stardust/Knowledge_Base/Java_API/IPartitionMonitor_Example|IPartitionMonitor Example Implementation]] - triggering participant synchronization or other system activity when a new model is deployed or deleted or when users are created, enabled or disabled<br>
  
 
== Queries  ==
 
== Queries  ==
  
*[[STP/Stardust/KnowledgeBase/API/JavaAPICookbook/QueryingWorklists|Querying Worklists]] - querying different user, user group, role or organization worklists based on different predicates  
+
*[[Stardust/Knowledge Base/API/JavaAPICookbook/QueryingWorklists|Querying Worklists]] - querying different user, user group, role or organization worklists based on different predicates  
*[[STP/Stardust/KnowledgeBase/API/JavaAPICookbook/Querying Workflow and Runtime|Querying Worklow and Runtime Information]] - querying e.g. model information, users having a certain role, the logged in user,...  
+
*[[Stardust/Knowledge Base/API/JavaAPICookbook/QueryingWorklist Utility|Querying Worklist Utility]] - a utility program to provide a list of WorkItems (Activity Instances) for a given combination of user, partition, role and department
*[[STP/Stardust/KnowledgeBase/API/JavaAPICookbook/Querying Activity Instance List|Querying Activity Instance List ]] - querying e.g. Activity Instance List, Activity Instance having a certain state,...  
+
*[[Stardust/Knowledge Base/API/JavaAPICookbook/Querying Workflow and Runtime|Querying Worklow and Runtime Information]] - querying e.g. model information, users having a certain role, the logged in user,...  
*[[STP/Stardust/KnowledgeBase/API/ExamplesofAPIUsage/GeneratingRoleBasedAPI|Generating Role/Grant-based Stardust API Queries]]  
+
*[[Stardust/Knowledge_Base/API/JavaAPICookbook/Querying_Users_entitled_to_perform_an_Activity| Querying Users entitled to perform an Activity]] - Querying Users with grants to perform a certain activity or activity instance.
*[[STP/Stardust/KnowledgeBase/API/ExamplesofAPIUsage/ActivityEventHibernateInitially|Checking Activity Event and Hibernate initially Status]]  
+
*[[Stardust/Knowledge Base/API/JavaAPICookbook/Querying Activity Instance List|Querying Activity Instance List ]] - querying e.g. Activity Instance List, Activity Instance having a certain state,...  
 +
*[[Stardust/Knowledge Base/API/ExamplesofAPIUsage/GeneratingRoleBasedAPI|Generating Role/Grant-based Stardust API Queries]]
 +
*[[Stardust/Knowledge Base/API/JavaAPICookbook/CheckingUserSpecificRole|Checking if a user has specific role]]
 +
*[[Stardust/Knowledge Base/API/JavaAPICookbook/FetchingOrganizationOfProviderModel |Fetching organization of Provider Model]]
 +
*[[Stardust/Knowledge Base/API/JavaAPICookbook/FetchingPIandAIHistoricalEvents |Fetching PI and AI Historical Events]]   
 +
*[[Stardust/Knowledge Base/API/ExamplesofAPIUsage/ActivityEventHibernateInitially|Checking Activity Event and Hibernate initially Status]]  
 
*[[Stardust/Knowledge Base/Java API/Queries/Partitions|Queries related to Audit Trail Partitions, e.g. listing existing partitions]]  
 
*[[Stardust/Knowledge Base/Java API/Queries/Partitions|Queries related to Audit Trail Partitions, e.g. listing existing partitions]]  
 
*[[Stardust/Knowledge Base/Java API/Process Instance Queries|Process Instance Queries]]&nbsp;- querying for process instances satisfying various search criteria  
 
*[[Stardust/Knowledge Base/Java API/Process Instance Queries|Process Instance Queries]]&nbsp;- querying for process instances satisfying various search criteria  
 +
*[[Stardust/Knowledge Base/Java API/Process Definition Queries|Process Definition Queries]]&nbsp;- querying for process definitions satisfying various search criteria
 
*Status of a Process Instance  
 
*Status of a Process Instance  
 
*History of a ProcessInstance  
 
*History of a ProcessInstance  
 
*Listing Data Mappings of an Activity
 
*Listing Data Mappings of an Activity
 +
*[[Stardust/Knowledge Base/API/JavaAPICookbook/ExposingRESTService |
 +
Exposing REST service]]
 +
 
<br>
 
<br>
  
 
== Organizational Structure &amp; Authorizations  ==
 
== Organizational Structure &amp; Authorizations  ==
*[[STP/Stardust/KnowledgeBase/API/ExamplesofAPIUsage/CreateDepartments|Creating Departments Programmatically]]<br>
+
 
<br>
+
*[[Stardust/Knowledge Base/API/ExamplesofAPIUsage/CreateDepartments|Creating Departments Programmatically]]<br>
 +
 
 +
<br>  
  
 
== Process Data  ==
 
== Process Data  ==
*[[Stardust/Knowledge_Base/Java_API/Reading_Process_Data|Reading Process Data]]
 
<br>
 
  
== Document Management  ==
+
*[[Stardust/Knowledge Base/Java API/Reading Process Data|Reading Process Data]]
  
*[[STP/Stardust/KnowledgeBase/API/DMSJavaAPIExample|DMS Java API Examples]]
+
<br>
*[[Stardust/Knowledge_Base/Java_API/Document_Security|Document Security]]
+
 
 +
== Document Management  ==
 +
*[[Stardust/Knowledge_Base/Java_API/Document_Management|DMS Java API Examples]]
 +
*[[Stardust/Knowledge Base/Java API/Document Security|Document Security]]
 
<br>
 
<br>
  
 
== Other  ==
 
== Other  ==
  
*[[STP/Stardust/KnowledgeBase/API/ExamplesofAPIUsage/SupportCaseJavaAPI|Executing the Support Case Example using the Stardust Java API]]  
+
*[[Stardust/Knowledge_Base/Java_API/Support_Case_Example|Executing the Support Case Example using the Stardust Java API]]  
*[[STP/Stardust/KnowledgeBase/API/ExamplesofAPIUsage/CompleteAPIExample|Complete Stardust API Example]]
+
*[[Stardust/Knowledge Base/API/ExamplesofAPIUsage/CompleteAPIExample|Complete Stardust API Example]]
  
 
<br>
 
<br>

Latest revision as of 09:29, 15 March 2016

NOTE to authors: Please make sure to specify the version on which the example was tested. 
All version numbers < 7.0 refer to the Infinity Process Platform (IPP)


NOTE: The ServiceFactory caches the authenticated Stardust services for the user. For use in a production environment it is important that the clients cache the ServiceFactory per user. Not caching the ServiceFactory means that a new login will be performed for every interaction with the engine.

Process and Activity Instance Lifecycle

  • Stardust Workflow Service in Action
    • Starting a Process
    • Activating and completing an Activity
    • Aborting an Activity
    • Delegating an Activity
    • Suspending an Activity
    • Fetching the User Work List
    • Submitting Process Data

Monitoring, Events and Event Actions

Queries


Organizational Structure & Authorizations


Process Data


Document Management


Other


Back to the top