You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 9, 2022. It is now read-only.
- NOTE: If you are warned about the project not being signed, click on 'OK' and NOT 'Cancel' to proceed with installation
54
+
- Restart Eclipse Luna
55
+
56
+
### Current published released version
57
+
58
+
- As for Current published in development version, except use this URL: https://raw.githubusercontent.com/adamfowleruk/marklogicworkflow/master/eclipse/MarkLogicWorkflowUpdateSite
59
+
60
+
## Creating a new Workflow process diagram
61
+
37
62
- Now go to File - Import or File - New Project to create your new modelling project
38
63
- Right click the root folder and select New - Other
39
64
- Open the 'BPMN2' category and select either 'MarkLogic CPF Process Diagram' or 'MarkLogic Workflow Process Diagram'
@@ -52,10 +77,16 @@ In the future MarkLogic Workflow will allow any arbitrary CPF pipeline to be exp
52
77
modeler. This will allow for full round trip re-engineering of MarkLogic CPF processes.
53
78
54
79
*WARNING: It should be noted that CPF diagram support is very much an Alpha product and not scheduled to be fully
55
-
implemented for a while.*
80
+
implemented for a while.*
56
81
57
82
## Related information
58
83
59
-
For the custom runtime/task videos, see this first:-
84
+
The best source for Eclipse extension tutorials is:-
Copy file name to clipboardExpand all lines: documentation/SPRINTS.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,8 @@ steps if a duplicate is found. Requires search (by property hash AND not (same u
34
34
35
35
## Sprint 1 - Basic workflow
36
36
37
+
Completed Sat 18 Apr 2015 14:30 BST by Adam Fowler
38
+
37
39
- DONE BPMN2: generic blank task
38
40
- DONE BPMN2: user task -> aka human step
39
41
- DONE BPMN2: exclusive gateway -> Decision point with one outcome, multiple options
@@ -50,8 +52,8 @@ steps if a duplicate is found. Requires search (by property hash AND not (same u
50
52
- DONE Tools: Process Data model XSD (for modeler import)
51
53
- DONE Tools: Eclipse BPMN 2 Modeler Palette and Process diagram support, including new diagram creation for MarkLogic
52
54
- DEFERRED UI: Ridiculously basic HTML widget in MLJS for rendering step and choosing action (for ease of testing)
53
-
-TEST Start process using an Alert (content subscription)
54
-
-TEST REST API: Basic process initiation, update and tracking methods
55
+
-DONE Start process using an Alert (content subscription)
56
+
-DONE REST API: Basic process initiation, update and tracking methods
55
57
- DONE processmodel.xqy
56
58
- DONE PUT create and publish process model, accepting BPMN2 content type .bpmn2, and to update process model without publishing
57
59
- DONE GET to fetch process model
@@ -60,8 +62,8 @@ steps if a duplicate is found. Requires search (by property hash AND not (same u
60
62
- DONE PUT create instance of a process (starts a process)
61
63
- DONE POST complete a human task
62
64
- DONE GET fetch the current state of a business process
63
-
-TEST processsubscription.xqy
64
-
-TEST PUT create a process subscription (alert) to create a new process instance (creating a content doc creates a process doc with an initiating attachment)
65
+
-DONE processsubscription.xqy
66
+
-DONE PUT create a process subscription (alert) to create a new process instance (creating a content doc creates a process doc with an initiating attachment)
65
67
- DONE processinbox.xqy
66
68
- DONE processqueue.xqy
67
69
- TEST support for roles (processroleinbox.xqy) on user tasks (For BD)
Copy file name to clipboardExpand all lines: documentation/USING-SUBSCRIPTIONS.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,8 +21,8 @@ The above is why I decided to have a process document that CPF runs against, rat
21
21
## How it works
22
22
23
23
1. A user, or application, creates a new document in MarkLogic - say a Bank Account Opening E-form
24
-
2. A 'Process Subscription' (basically a MarkLogic alert that uses the alert-action-process.xqy action) fires, creating a new Account Opening process document
25
-
3. A CPF Domain (set up by enabling/publishing a MarkLogic Workflow BPMN2 model) fires for this document, invoking the Account Opening V1.2 CPF pipeline process
24
+
2. A 'Process Subscription' (basically a MarkLogic alert that uses the alert-action-process.xqy action) fires, creating a new Account Opening process document, and attaching the account opening form as the InitiatingAttachment attachment
25
+
3. A CPF Domain (set up by enabling/publishing a MarkLogic Workflow BPMN2 model) fires for this process document, invoking the Account Opening V1.2 CPF pipeline process
26
26
4. CPF manages the state transitions and execution of BPMN2 CPF actions throughout the process lifecycle
27
27
5. Process eventually completes (or fails), leaving the process document as an audit record of what happened, with metrics for performance analysis
28
28
@@ -39,13 +39,19 @@ Several reasons.
39
39
## Isn't it a bit convoluted?
40
40
41
41
If you had to create all these things by hand, yes. This is why the Workflow REST API provides a single endpoint
42
-
(POST /v1/resource/process) to take a BPMN2 model, create a set of CPF pipelines, and create a
42
+
(POST /v1/resources/process) to take a BPMN2 model, create a set of CPF pipelines, and create a
43
43
domain configuration, for you.
44
44
45
45
All you then need to do then is separately configure one or more Alerts (aka Process Subscriptions) via calls to
46
-
PUT /v1/resource/processsubscription to start the relevant workflow based on criteria about a new or updated document
46
+
PUT /v1/resources/processsubscription to start the relevant workflow based on criteria about a new or updated document
47
47
in marklogic.
48
48
49
-
Alternatively, manually start a process via PUT /v1/resource/process without needing a Process Subscription. This is useful
49
+
Alternatively, manually start a process via PUT /v1/resources/process without needing a Process Subscription. This is useful
50
50
if starting a process via an ESB or application. A good example is starting a process to tell a person to create a
51
51
new document that doesn't exist yet.
52
+
53
+
## Examples
54
+
55
+
For examples of how to configure and call the REST extensions for alerting, see the /shtests/ folder, specifically:-
56
+
- Automated start: 25-payload.xml and 25-processsubscription-create.sh
0 commit comments