‘Workflow server error. Property String value too long', is thrown by the "Call Workflow activity".

‘Workflow server error. Property String value too long', is thrown by the "Call Workflow activity".

book

Article ID: KB0090819

calendar_today

Updated On:

Products Versions
TIBCO BusinessWorks Collaborator -
Not Applicable -

Description

Description:
When "Call Workflow" activity's input field is configured to long values (values having more than 2000 characters) then the BW process fails to execute the call workflow with the error 'BW-WF-100015' Property String value too long.

Symptoms:
When process containing "Call Workflow" activity is executed, it fails with the error:

<?xml version = "1.0" encoding = "UTF-8"?>
<ns0:ErrorReport xmlns:ns0 = "http://www.tibco.com/pe/EngineTypes">
    <StackTrace>Job-4000 Error in [RinnovoFidi/Automated Processes/prRinnovoPending.process/Group/Call Workflow]
Workflow server error. Workflow server error. Property String value too long.
    at com.tibco.workflow.plugin.errors.WfExceptionHelper.throwServerException(Unknown Source)
    at com.tibco.workflow.plugin.activities.WfPluginCreateJobActivity.eval(Unknown Source)
    at com.tibco.pe.plugin.Activity.eval(Unknown Source)
    at com.tibco.pe.core.TaskImpl.eval(Unknown Source)
    at com.tibco.pe.core.Job.a(Unknown Source)
    at com.tibco.pe.core.Job.k(Unknown Source)
    at com.tibco.pe.core.JobDispatcher$JobCourier.a(Unknown Source)
    at com.tibco.pe.core.JobDispatcher$JobCourier.run(Unknown Source)
    </StackTrace>
    <Msg>Workflow server error. Workflow server error. Property String value too long.</Msg>
    <FullClass>com.tibco.workflow.plugin.errors.ServerException</FullClass>
    <Class>ServerException</Class>
    <ProcessStack>RinnovoFidi/Automated Processes/prGestioneRinnovi.process/Group/RinnovoPending>RinnovoFidi/Automated Processes/prRinnovoPending.process/Group/Call Workflow</ProcessStack>
    <MsgCode>BW-WF-100015</MsgCode>
    <Data>
        <ns1:ServerException xmlns:ns1 = "http://schemas.tibco.com/workflow/bwplugin/5.0/WfPluginExceptions">
            <msg>Workflow server error. Workflow server error. Property String value too long.</msg>
            <msgCode>BW-WF-100015</msgCode>
            <ServerMessage>Property String value too long.</ServerMessage>
            <ServerCode>200111</ServerCode>
            <ServerSeverity>3</ServerSeverity>
            <ServerFacility>1</ServerFacility>
        </ns1:ServerException>
    </Data>
</ns0:ErrorReport>

Cause:
Input values provided to call workflow activity are stored as an IcString and in the Oracle database. The maximum string length is 2,000 characters. This is the length limit for string variables such as object names, parameter names and query predicates. 

Resolution

Configure the input field values of the call workflow activity with less than 2000 characters. Run the process. Now call the workflow.

Issue/Introduction

‘Workflow server error. Property String value too long', is thrown by the "Call Workflow activity".