Page 2 of 2

Re: switch-inject-lite

Posted: Wed Jan 10, 2018 3:51 pm
by mireille
Hello Gabriel,

Is it possible to use "Assert exist" option to check if a (job)folder exists or not? A folder, not a file.
When I leave "Job extension" empty (like you can do in the classic "Inject Job" element), The trigger job doens't flow through the Inject-Lite element.
It gets stuck in the folder in front of it. You need to enter a file extension in the properties to make it go further along.

Do you have a work around for this problem?
Thanks in advance for the support!

Greetings from the Netherlands,
Mireille

Re: switch-inject-lite

Posted: Fri Jan 12, 2018 11:09 am
by mireille
Hello everyone,

Does someone have a suggestion which properties I need to use in an Inject-Lite element for checking the existence of a (job)folder?
I only get it working with a file, not a folder. Leaving the property "extension" blank doesn't seem to work in my flow.

After some investigation I discovered we also have the error messages:
"Error in line 101 of script : Error. Trying to access undefined member '1'"

Same as mentioned in the posts above. But we don't have a scripting module, so I can't install the attached new version. Is the one in the appstore already updated?

We don't run Switch Watchdog as a Windows service.

Mireille

Re: switch-inject-lite

Posted: Mon Jan 15, 2018 11:38 am
by mireille
Found it!

viewtopic.php?f=12&t=2003&hilit=inject+lite

Switching \ and / was the solution to get it all working.

Grtz, Mireille

Re: switch-inject-lite

Posted: Tue Jan 16, 2018 3:14 pm
by gabrielp
mireille wrote: Switching \ and / was the solution to get it all working.
Thanks for posting the solution.

Re: switch-inject-lite

Posted: Wed Feb 07, 2018 1:11 pm
by NightCat
gabrielp wrote:
Zoranj wrote:Dynamic property 'JobPath' has invalid value
Try this version of the script: https://github.com/open-automation/swit ... -validator

Someone at Enfocus is working on an appstore fix for this.
Hello.

I download "Inject Lite" from Enfocus appstore.
I don't have scripting module.
I have same problem. How I can use new version "Inject Lite"?