switch-inject-lite

mireille
Member
Posts: 24
Joined: Tue Nov 03, 2015 2:12 pm
Location: Roosendaal - NL

Re: switch-inject-lite

Post 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
mireille
Member
Posts: 24
Joined: Tue Nov 03, 2015 2:12 pm
Location: Roosendaal - NL

Re: switch-inject-lite

Post 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
mireille
Member
Posts: 24
Joined: Tue Nov 03, 2015 2:12 pm
Location: Roosendaal - NL

Re: switch-inject-lite

Post 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
User avatar
gabrielp
Advanced member
Posts: 645
Joined: Fri Aug 08, 2014 4:31 pm
Location: Boston
Contact:

Re: switch-inject-lite

Post by gabrielp »

mireille wrote: Switching \ and / was the solution to get it all working.
Thanks for posting the solution.
Free Switch scripts: open-automation @ GitHub
Free Switch apps: open-automation @ Enfocus appstore

Want to hire me? I'm looking for my next gig. Contact me on LinkedIn or via email.
NightCat
Newbie
Posts: 3
Joined: Fri Jan 27, 2017 9:43 am

Re: switch-inject-lite

Post 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"?
Post Reply