Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
CSIDE and OScript
Problem with General Event Script example in Builder help
Simon_Morris_(simonmorris_-_(deleted))
Hi all,I've been working my way through the example in the builder help to create an event script to change the value of a workflow attribute.When I try to run it against a simple workflow containing 1 attribute imaginatively called Test I get an "An error occurred starting the workflow" in Livelink and a "Value cannot be coerced to Local type" in the builder debugger on the line "attribs = r.USERDATA"I've attached a copy of the script I'm trying to run, all I've done is put values in for r.Name and r.Value.Does anyone have any ideas what I've done wrong with it? I've gone back over all the steps for creating the module etc and it all seems to match what's in the help file.ThanksSimon
Find more posts tagged with
Comments
Donna Nalls
Hi Simon,I'm not sure where the example came from, but it looks like it may be from an older version of livelink - where a category was a simple db table and each attribute was one column....Attached, please find a utility script that i use for setting attribute values.....hope it helps.Best,Donna
Simon_Morris_(simonmorris_-_(deleted))
Thanks Donna, I'll give it a go