"Output Data Invalid" error when the Worflow Service Agent tried to run the automated process.This error might appear if a workflow template/process is re-exported to the wf server and over-written.
book
Article ID: KB0087685
calendar_today
Updated On:
Products
Versions
TIBCO BusinessWorks Workflow
-
Not Applicable
-
Description
Resolution: When a workflow process is re-exported from the designer to the workflow server, import/export wizard prompts if you want to over-write the template in the workflow server or NOT. If this workflow template in the workflow server has jobs associated with it and the workflow template is over-written "Output Data Invalid" error will occur for the existing jobs. However, the new job will work fine without any errors.
All the old jobs throws the "Output Data Invalid" error in a particular automated task (which has some data mapping in it). Exporting a Workflow Process and updating an existing version will delete the old descriptor documents even when a particular task is not modified. The only way to fix existing jobs is to log in as admin in Workflow Desktop and fix the IC_BW_DESCRIPTOR attribute of all automatic tasks of old jobs to point to the right document id. Changing the IC_BW_DESCRIPTOR, all the old tasks run successfully.
Following are the steps to change the IC_BW_DESCRIPTOR for the CallProcess task 1) Note down the IC_BW_DESCRIPTOR for the CallProcess task which belonged to new Job (that succesfully completed) 2) Log in as icdba in Workflow Desktop and go to Tasks->Manage Task 3) Filter the tasks for the Error Role (in my case the error role was icdba) 4) Acquire this task 5) Modify the IC_BW_DESCRIPTOR for the CallProcess task with the one from Step 1. Please NOTE, you need to modify the IC_BW_DESCRIPTOR under "Custom Task Info" 6) Save the task and release it. Please make sure the task is assigned to the role used in your Workflow Service Agent (default - bwwfagent). If NOT reassign the task to that role Now the Workflow Service Agent should pick up the tasks and execute them correctly.
Issue/Introduction
"Output Data Invalid" error when the Worflow Service Agent tried to run the automated process.This error might appear if a workflow template/process is re-exported to the wf server and over-written.