Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 251495

Scripting objects lost after an User Interaction element is run?

$
0
0

Hi,

 

    I'm new to vCO plugin development and recently I'm seeing something that I think is abnormal regarding an User Interaction element is a workflow.

 

     1. I created some scripting objects( provided from the vCO plugin I'm developing) in a script element and I bound them as attributes for the workflow. These objects are all working fine.

     2. After the script element there is an User Interaction element

     3. Following the User Interaction element there is another script element in which I tried to bind those objects mentioned in #1 as in-parameter.

 

     Somehow in step #3, vCO can't seem to find those objects, the reported error is like :

     Workflow:TestWorflow / Scriptable task (item2) : ch.dunes.model.type.ConvertorException: Cannot convert to object , reason : Unable to perform operation 'find('PersonInfo', 'ec528439-2dc4-4e9e-9cae-51e34c506762')' on plugin 'VSI' reason : 'null'

 

     I thought maybe the scripting objects provided in my plugin are problematic so I replaced them with the objects provided in vCO's official sampe plugins (SolarSystem sample plugin), but the result is the same.

 

    However, if I repalce those objects with variables of simple types (string, number...etc), there's no problem when I intialize them before an User Interaction element and reference them in the script elements following it.

 

     Your help is highly appreciated, thanks in advance!


Viewing all articles
Browse latest Browse all 251495

Trending Articles