Search found 78 matches

by cwswitch
Thu Dec 24, 2020 1:40 am
Forum: Imposition
Topic: Switch Fall 2020 Quite Hot imposing - Requested property is not defined: 'controltype'
Replies: 1
Views: 7002

Re: Switch Fall 2020 Quite Hot imposing - Requested property is not defined: 'controltype'

I've found that by adding a new Quite Hot configurator, more options are available than in the past. If I then link to a control XML, I can run it with no error showing in Switch. This makes me think that the errors I was seeing are not mission critical. I now just need to re-add all my Quite Hot co...
by cwswitch
Thu Dec 24, 2020 12:45 am
Forum: Imposition
Topic: Switch Fall 2020 Quite Hot imposing - Requested property is not defined: 'controltype'
Replies: 1
Views: 7002

Switch Fall 2020 Quite Hot imposing - Requested property is not defined: 'controltype'

Requested property is not defined: 'controldataset'; trying to use default value Requested property is not defined: 'controltype'; trying to use default value Dynamic property 'control' has invalid value I'm seeing these errors from Quite Hot in the Switch logs. Does anyone know if my jobs will be ...
by cwswitch
Mon Dec 16, 2019 11:36 pm
Forum: Switch
Topic: Switch Fall Edition 2019
Replies: 9
Views: 11506

Re: Switch Fall Edition 2019

How 2 The long version from Enfocus - https://www.enfocus.com/manuals/UserGuide/SW/19.1/home.html#en-us/common/sw/task/ta_viewing_jobs_on_a_board.html Shorter version - Web Portal > Boards > Manage > New Job Board Select Flows > Select All > Apply Select All > Save Auto Refresh (page bottom) > OFF Y...
by cwswitch
Mon Dec 16, 2019 10:58 pm
Forum: Switch
Topic: [SOLVED] Requested property is not defined: 'failAfter'; trying to use default value
Replies: 3
Views: 5584

Re: Requested property is not defined: 'failAfter'; trying to use default value

jan_suhr wrote: Fri Nov 29, 2019 7:29 am Try to replace the Hold element with a new one and set it up exactly as the old one.

It might be some preference conflict between the two versions.
I forgot to reply, but for anyone with the same issue, this works - Thanks Jan!
by cwswitch
Thu Nov 28, 2019 11:22 pm
Forum: Switch
Topic: [SOLVED] Requested property is not defined: 'failAfter'; trying to use default value
Replies: 3
Views: 5584

Re: Requested property is not defined: 'failAfter'; trying to use default value

I have a guess it is part of "release condition" part 3.4 in the release notes

I'm not using a release condition though, I'm just using the hold to delay jobs with a delay scheme or with a time of day window.
by cwswitch
Thu Nov 28, 2019 8:43 pm
Forum: Switch
Topic: [SOLVED] Requested property is not defined: 'failAfter'; trying to use default value
Replies: 3
Views: 5584

[SOLVED] Requested property is not defined: 'failAfter'; trying to use default value

Upgraded from Switch 19 Spring to Switch 19 Fall just now, and Hold Job has a new error/feature.

How do I deal with this new message?

Code: Select all

Requested property is not defined: 'failAfter'; trying to use default value
I'm looking for a value on the element and connector but not seeing anything new.
by cwswitch
Tue Jul 30, 2019 6:56 am
Forum: Switch
Topic: Switch Messages - 'do not show'
Replies: 1
Views: 3570

Switch Messages - 'do not show'

Hi,

I see I can filter to show many things on the (very nice) new Switch Messages

I'd like to not show some things - specifically not show Element: Recycle bin

Any ideas how to do this please?
by cwswitch
Fri Mar 22, 2019 10:28 pm
Forum: LEGACY scripting
Topic: passing results from a switch script into the flow
Replies: 2
Views: 4783

Re: passing results from a switch script into the flow

niiiiice thanks! :D

I realize this is all in the books and I do search a lot, it's just overwhelming at times

Appreciate the tips, cheers
by cwswitch
Fri Mar 22, 2019 5:22 am
Forum: LEGACY scripting
Topic: passing results from a switch script into the flow
Replies: 2
Views: 4783

passing results from a switch script into the flow

I'm really excited as I'm writing a script from scratch in Switch Scripter. In the past I had edited other people's or done small scripts inside of Switch.

My script gets me 3 useful values and I'm now ready to use those values in my flow.

I don't know how to access them!
by cwswitch
Thu Mar 14, 2019 3:21 am
Forum: LEGACY scripting
Topic: JavaScript working with an array
Replies: 6
Views: 10026

Re: JavaScript working with an array

THIS makes my life much easier. - Thanks
by cwswitch
Wed Mar 13, 2019 10:22 pm
Forum: LEGACY scripting
Topic: JavaScript working with an array
Replies: 6
Views: 10026

Re: JavaScript working with an array

Thanks for the help!

Is it possible to echo variables from a script out to somewhere to see what a script is producing?

I think I was making the array OK, but trying to echo out an array (so undefined) and not echo out a position of the array. Silly me :roll:
by cwswitch
Wed Mar 13, 2019 4:42 am
Forum: LEGACY scripting
Topic: JavaScript working with an array
Replies: 6
Views: 10026

JavaScript working with an array

Hi, I get this info info = (job.getVariableAsString('[Job.NameProper:After="(",Before=")"]')); It looks like this 10,5,10,20,10,10,20,10 I'm looking to put that info into an array and then access parts of the array So far any effort to put it into an array or access parts of that...
by cwswitch
Thu Feb 14, 2019 10:16 pm
Forum: LEGACY scripting
Topic: Looping through private data and adding to file name suffix
Replies: 2
Views: 5120

Re: Looping through private data and adding to file name suffix

Holy shit

Thanks!!!

As my script was getting longer and worse, you came in with a nice tidy solution :lol:

I have so much to learn!
by cwswitch
Thu Feb 14, 2019 3:28 am
Forum: LEGACY scripting
Topic: Looping through private data and adding to file name suffix
Replies: 2
Views: 5120

Looping through private data and adding to file name suffix

Hi, I have files arriving at a rename which contain private data that I want to add to the filename. The private data will be Key 01, Value 01 to Key nn, Value nn (key name and the value they hold are the same so Key 88 would be value 88 ). A job may have Keys 01 and 03, another job may have keys 04...
by cwswitch
Sun Jan 13, 2019 11:35 pm
Forum: LEGACY scripting
Topic: Pushing errors to Error out
Replies: 1
Views: 3923

Pushing errors to Error out

Hello, Can I push any error in a script to the error out connector? Or must I have a try catch and the catch pushes the error the way I want? If try/catch was the way, then do I copy the problem bit of code like this? try { problem code in its entirety even if it is several lines long; } catch (e) {...