Clarity: Process Fails - BPM-0704: An error occurred while executing custom script: ../config/properties.xml (no such file or directory)

book

Article ID: 49791

calendar_today

Updated On:

Products

CLARITY PPM FOR ITG CLARITY PPM FEDERAL CA Identity Manager CA Identity Governance CA Identity Portal Clarity PPM SaaS - Application Clarity PPM On Premise

Issue/Introduction

Description:

The Same process that runs in our Production Environment under 12.0.4 fails in our Test Environment 12.1.1

The error message on the Initiated Process Messages page shows:

BPM-0704: An error occurred while executing custom script:
org.apache.commons.jelly.JellyTagException: null:4:66: <gel:parse> ../config/properties.xml (no such file or directory)

<Please see attached file for image>

Figure 1

Solution:

The coding in the GEL script should be modified to retrieve the correct path of the properties configuration file using system environmental parameters.

You can copy the existing process and test this modification.

Go into the GEL Script inside the Process Definition

REPLACE EXISTING LINE:

<gel:parse file="../config/properties.xml" var="properties"/>

WITH THE FOLLOWING LINES:

<core:invokeStatic className="java.lang.System" method="getenv" var="NIKU_HOME">
<core:arg value="NIKU_HOME"/>
</core:invokeStatic>
<gel:parse file="${NIKU_HOME}/config/properties.xml" var="properties"/>

Keywords: CLARITYKB, how-to, configuration, bpm-0704, workflow.

Environment

Release: ESPCLA99000-12.1-Clarity-Extended Support Plus
Component:

Attachments

1558710142310000049791_sktwi1f5rjvs16rr0.gif get_app