Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream PR BXMSDOC-6883-master to Master Getting started with processes doc for 7.10 #3242

Merged
merged 1 commit into from
Feb 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Binary file modified _images/getting-started/approval-io.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/getting-started/bus-rule-task.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/getting-started/correct-data-io.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/getting-started/created-connection.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/getting-started/exclusive-gateway.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/getting-started/exclusive_gateway.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/getting-started/increase-down-io.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/getting-started/mortgage-calc-assignments.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/getting-started/new-task.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/getting-started/new_br_task.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/getting-started/proc-var-new.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/getting-started/qualify-io.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/getting-started/user_task.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/getting-started/val-data-io.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/getting-started/validconnection.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/getting-started/workflow1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@
The following procedures guide you through the creation of tasks, connections, and gateways that make up the *MortgageApprovalProcess* business process. The mortgage validation business process determines whether a mortgage application contains all required data. If the specified data requirements are met, the application proceeds on to the mortgage calculation business process.

.Procedure
. In {CENTRAL}, go to *Menu* -> *Design* -> *Projects* -> *mortgage-process*.
. In {CENTRAL}, go to *Menu* -> *Design* -> *Projects* -> *Mortgage-Process*.
. Click *Add Asset* -> *Business Process*.
. Enter the following values:
+
* *Business Process*: `MortgageApprovalProcess`
* *Package*: Select `com.myspace.mortgage_process`
* *Package*: Select `com.myspace.mortgage_app`
+
The *Package* specifies the location inside the existing project where the asset will be created. In this example, it is created in `com/myspace/mortgage_process`.
The *Package* specifies the location inside the existing project where the asset will be created. In this example, it is created in `com/myspace/mortgage_app`.

. Click *Ok*. The diagram editor opens.
. In the upper-right corner, click the *Properties* image:getting-started/diagram_properties.png[] icon.
. Scroll down and expand *Process Data* and click image:getting-started/btn_plus.png[] in the *Process Variables* section.
. Enter the following values:
+
* *Name*: `application`
* *Data Type*: `Application [com.myspace.mortgage_process]`
* *Data Type*: `Application [com.myspace.mortgage_app]`

== Creating outgoing connections and exclusive gateways
This section shows you how to create outgoing connections, exclusive gateways, and business rule tasks. Use exclusive gateways to make decisions and react to events based on the available data.
Expand Down Expand Up @@ -71,6 +71,7 @@ System.out.println(application.getProperty());
.Validation Data I/O assignments
image::getting-started/val-data-io.png[Screen capture of the Validation Data I/O assignments]

. Click *OK* in the *Validation Data I/O* window.
. Above the canvas, click *Save* to confirm your changes.

== Defining the validation data
Expand Down Expand Up @@ -127,6 +128,7 @@ image::getting-started/user_task.png[]
+
.Correct Data Data I/O assignments
image::getting-started/correct-data-io.png[Screen capture of the Correct Data Data I/O assignments]
.. Click *OK* in the *Correct Data Data I/O* window.
.. Above the canvas, click *Save* to confirm your changes.

. Click on the *Correct Data* user task, then click the *Create sequence Flow* icon and drag it back to the first exclusive gateway. Your workflow should look similar to the following diagram:
Expand All @@ -152,6 +154,7 @@ image::getting-started/validconnection.png[]
.Mortgage Calculation Data I/O assignments
image::getting-started/mortgage-calc-assignments.png[screen capture of the Mortgage Calculation Data I/O assignments]

. Click *OK* in the *Mortgage Calculation Data I/O* window.
. Click an empty space on the canvas, scroll down, expand *Process Data*, and click image:getting-started/btn_plus.png[] next to *Process Variables*. Enter the following values:

* *Name*: `inlimit`
Expand All @@ -166,6 +169,7 @@ image::getting-started/mortgage-calc-assignments.png[screen capture of the Mortg
.Qualify Data I/O assignments
image::getting-started/qualify-io.png[Screen capture of the Qualify Data I/O assignments]

. Click *OK* in the *Qualify Data I/O* window.
. Above the canvas, click *Save* to confirm your changes.
. Click on the *Qualify* user task, click on the *Create parallel* menu icon, and convert it to an exclusive gateway.
. Drag the new exclusive gateway below the *Qualify* user task.
Expand All @@ -184,6 +188,7 @@ image::getting-started/inlimit-true.png[]
.Final Approval Data I/O assignments
image::getting-started/approval-io.png[Screen capture of the Final Approval Data I/O assignments]

. Click *OK* in the *Final Approval Data I/O* window.
. Above the canvas, click *Save* to confirm your changes.

== Increasing the down payment
Expand Down Expand Up @@ -217,6 +222,7 @@ image::getting-started/proc-var-new.png[]
.Increase Down Payment Data I/O assignments
image::getting-started/increase-down-io.png[Screen capture of the Increase Down Payment Data I/O assignments]

. Click *OK* in the *Increase Down Payment Data I/O* window.
. Above the canvas, click *Save* to confirm your changes.
. Click on the *Increase Down Payment* user task, click on the *Create parallel* menu icon, and convert it to an exclusive gateway.
. Drag the new exclusive gateway below the *Increase Down Payment* user task.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Follow these steps to create the *Applicant* data object, which contains informa
. Click *Menu* -> *Design* -> *Projects* and click *mortgage-process*.
. Click *Add Asset* and select *Data Object*.
. Enter `Applicant` in the *Data Object* field of the *Create new Data Object* window.
. Select `com.myspace.mortgage_process` from the *Package* drop-down menu and click *Ok*.
. Select `com.myspace.mortgage_app` from the *Package* drop-down menu and click *Ok*.
. Enter `Applicant` in the *Label* field of the *'Applicant'- general properties* section.
. Click *+add field* and input the following *Applicant* data object values. Click *Create and continue* after each addition. For the last addition, click *Create*.
+
Expand All @@ -35,7 +35,7 @@ Follow these steps to create the *Property* data object, which contains informat
. Click *Menu* -> *Design* -> *Projects* and click *mortgage-process*.
. Click *Add Asset* and select *Data Object*.
. Enter `Property` in the *Data Object* field of the *Create new Data Object* window.
. Select `com.myspace.mortgage_process` from the *Package* drop-down menu and click *Ok*.
. Select `com.myspace.mortgage_app` from the *Package* drop-down menu and click *Ok*.
. Enter `Property` in the *Label* field of the *'Property'- general properties* section.
. Click *+add field* and input the following *Property* data object values. Click *Create and continue* after each addition. For the last addition, click *Create*.
+
Expand All @@ -52,7 +52,7 @@ Follow these steps to create the *ValidationErrorDO* data object, which specifie
. Click *Menu* -> *Design* -> *Projects* and click *mortgage-process*.
. Click *Add Asset* and select *Data Object*.
. Enter `ValidationErrorDO` in the *Data Object* field of the *Create new Data Object* window.
. Select `com.myspace.mortgage_process` from the *Package* drop-down menu and click *Ok*.
. Select `com.myspace.mortgage_app` from the *Package* drop-down menu and click *Ok*.
. Enter `ValidationErrorDO` in the *Label* field of the *'ValidationErrorDO'- general properties* section.
. Click *+add field* and input the following *ValidationErrorDO* data object values. Click *Create and continue* after each addition. For the last addition, click *Create*.
+
Expand All @@ -69,7 +69,7 @@ Follow these steps to create the *Application* data object, which contains infor
. Click *Menu* -> *Design* -> *Projects* and click *mortgage-process*.
. Click *Add Asset* and select *Data Object*.
. Enter `Application` in the *Data Object* field of the *Create new Data Object* window.
. Select `com.myspace.mortgage_process` from the *Package* drop-down menu and click *Ok*.
. Select `com.myspace.mortgage_app` from the *Package* drop-down menu and click *Ok*.
. Enter `Application` in the *Label* field of the *'Application'- general properties* section.
. Click *+add field* and input the following *Application* data object values. Click *Create and continue* after each addition. For the last addition, click *Create*.

Expand Down