switch-inject-lite

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

Re: switch-inject-lite

Postby mireille » Wed Jan 10, 2018 3:51 pm

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
Newbie
Posts: 18
Joined: Tue Nov 03, 2015 2:12 pm
Location: Roosendaal - NL

Re: switch-inject-lite

Postby mireille » Fri Jan 12, 2018 11:09 am

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
Newbie
Posts: 18
Joined: Tue Nov 03, 2015 2:12 pm
Location: Roosendaal - NL

Re: switch-inject-lite

Postby mireille » Mon Jan 15, 2018 11:38 am

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: 603
Joined: Fri Aug 08, 2014 4:31 pm
Location: Boston
Contact:

Re: switch-inject-lite

Postby gabrielp » Tue Jan 16, 2018 3:14 pm

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

Thanks for posting the solution.
Chat: open-automation @ gitter
Code: open-automation & dominickp @ GitHub
Tools: Switch, Pitstop, EPMS, Veracore, PageDNA, SmartStream, Metrix


Return to “Scripting”



Who is online

Users browsing this forum: No registered users and 1 guest