Is there any easy way to do size of a sequence in a Scripting Task in IM.

Is there any easy way to do size of a sequence in a Scripting Task in IM.

book

Article ID: KB0088437

calendar_today

Updated On:

Products Versions
TIBCO IntegrationManager -
Not Applicable -

Description

Resolution:
Use:
count = job.get("msg.result").getAttributeCount();

count will then contain the number of elements in the sequence.

Issue/Introduction

Is there any easy way to do size of a sequence in a Scripting Task in IM.