JavaΒΆ
The business entity, Java is used to create and manage the Java JAR files.
You can create new Java JAR files based on the requirements and then map the same to the activities as required. The created Java is mapped to the Java activity in the process flow for adding any particular custom actions in the process flow based on the business requirement.
Viewing JavaΒΆ
The Java associated with each flow will appear within that flow.
- Navigate to App Studio > Applications - open application name > Process Flow/Data Flow - process flow name > Open.
-
Click Java on the left side panel for viewing the java entities for the flow module.
Creating New JavaΒΆ
The java activity reads the java entity mapped to it and it executes the code in the classpath.
-
Navigate to App Studio > Applications - open application name > Process Flow/Data Flow - process flow name > Open > Java.
The java entity list appears. -
Click +Create New. The Info Actions panel appears as Create Java.
-
Enter the Basic details in the Create Java panel as explained below.
-
Click Create. Java with the provided details is created.
Viewing and Editing JavaΒΆ
Make sure to unlock the application before editing if you want to edit the details of an entity that is not created by you.
- Navigate to App Studio > Applications - open application name > Process Flow/Data Flow - process flow name > Open > Java.
The java entity list appears. -
Click the Java card for viewing the details of the selected java. The details of the java appear in the Info Actions panel (Edit Java).
-
Edit the java details as needed.
!!!!note
If you upload a new JAR file, you need to deploy the process flow for updating the JAR file. - Click Save.
Viewing Java AssociationsΒΆ
- Navigate to App Studio > Applications- open application name > Process Flow/Data Flow - process flow name > Open > Java.
The java entity list appears. - Hover over any java entity card. Three dots appear on the upper right side of the card.
-
Click the three dots. More Actions appear.
-
Click Associations. The association of the java entity with the application, flow modules, and activities is displayed in a pop-up.
- Application - The application in which the java entity is utilized.
- Flow - The flow in which java is utilized.
- Activity/Entity - The entity or activity name in which java is utilized.
- Type - The type of entity or activity.
Duplicating JavaΒΆ
Make sure to unlock the application before duplicating an entity that is not created by you. When you duplicate a java entity, the associations are not duplicated.
- Navigate to App Studio > Applications- open application name > Process Flow/Data Flow - process flow name > Open > Java.
The java entity list appears. - Hover over any Java entity card. Three dots appear on the upper right side of the card.
-
Click the three dots. More Actions appear.
-
Click Duplicate. A confirmation pop-up appears.
-
Click Ok for duplicating the java entity (or you can click Cancel to cancel the duplicate action). A Success message appears on the successful duplication of the java entity.
-
Click Ok. A duplicate copy of the java entity appears on the Java page with the same name suffixed with β_copiedβ.
Deleting JavaΒΆ
Make sure to unlock the application before deleting an entity that is not created by you. Also, you cannot delete the entity if it is associated with any activity.
- Navigate to App Studio > Applications - open application name > Process Flow/Data Flow - process flow name > Open > Java.
The java entity list appears. -
Click the java name card that is to be deleted. The lower-right of the page displays Delete.
-
Click Delete. A Confirmation pop-up for delete appears.
-
Click Ok for deleting the java entity.
Or
Click Cancel to cancel the action.
Alternatively, you can follow the below steps to delete the java entity:
- Click the Burger menu and navigate to App Studio > Application > {Flow module} > Java.
- Hover over the java card. Three dots appear on the upper right side of the card.
- Click the three dots. More Actions appear.
-
Click Delete and follow step 4 in the above procedure.
Utilizing Java EntityΒΆ
Accessing Java through ActivityΒΆ
You can map the entity - Java to the activity, Java in the process flow.
-
Navigate to App Studio > Applications - open application name > Process Flow/Data Flow - process flow name > Open.
Info
Open or create a process flow with Java activity in the flow.
-
Click the Java activity and the Info Actions panel displays the configuration and properties.
-
Click Java accordion. Java mapping details appear.
-
Click Default Java Jar for viewing the list of java entities.
- Select a java entity.
- Below the Class Path, enter the java classpath for the uploaded .JAR file.
For example, com.abc.parser. - Click Add More if you need to add a conditional Java entity based on rules.
Accessing Java in WebserviceΒΆ
Follow the below steps to access java entity in the webservice entity.
- Navigate to Webservice entity.
- Click Create New for creating a new webservice or click an existing webservice.
- Provide the Basic details and click More. Webservice configuration page appears.
- Click REST or SOAP. Configuration details appear.
- After providing REST or SOAP-specific details, click the Java Intercepter tab.
- Click Select Java Jar and select the java entity as required.
- Enter the Class Path.














