Search found 19 matches

by FrankT
Tue Nov 05, 2024 4:29 pm
Forum: Switch
Topic: Switch alternatives
Replies: 4
Views: 16126

Switch alternatives

Hello, My maintenance contact for Switch is about to expire and I have been tasked with possibly using a different vendor. Switch is really good with automating tasks for me, integrating PowerShell and command-line commands. But I have to show my boss alternatives. Does anyone know of other applicat...
by FrankT
Thu Oct 17, 2024 5:31 pm
Forum: Switch
Topic: Using Private Data key as a command variable
Replies: 0
Views: 45983

Using Private Data key as a command variable

Hello,
I am trying to use [Switch.FlowName] as part of a command prompt command using the RUN Command.

something like this: echo %%[Switch.FlowName]%% >"test.out"

But it does not work.

How can I use a private data key and a variable for a command.

Thank you
by FrankT
Tue Oct 01, 2024 3:58 pm
Forum: Switch
Topic: Running Powershell scripts
Replies: 7
Views: 18759

Re: Running Powershell scripts

I have one more question. How do I run the script if it has arguments? I tried placing the argument in the same quotes and it didnt work. I tried separate, as bbelow, and it doesnt work either? -nologo -windowstyle hidden -executionpolicy bypass -file "D:\Testing\Folder count\Project_folder_cle...
by FrankT
Thu Sep 26, 2024 4:00 pm
Forum: Switch
Topic: Running Powershell scripts
Replies: 7
Views: 18759

Re: Running Powershell scripts

Thank you! this is working for me.
by FrankT
Tue Sep 24, 2024 8:45 pm
Forum: Switch
Topic: Running Powershell scripts
Replies: 7
Views: 18759

Running Powershell scripts

I am attempting to run a Powershell script but cannot get it to run. I have tried "Run Command" and "Execute Command" and it does not seem to run For the "Run Command" I have these parameters: Shell - Powershell Command - d:\testing\test.ps1 For the "Execute Comman...
by FrankT
Tue Sep 17, 2024 7:51 pm
Forum: Switch
Topic: NOOBIE- Script debugging
Replies: 5
Views: 11910

Re: NOOBIE- Script debugging

Thanks for the response. The video, it appears for advanced users, which I am not.

I do not even know what application is being used. It does not look like SwitchScripter.

Thank you anyway
by FrankT
Tue Sep 17, 2024 4:26 pm
Forum: Switch
Topic: NOOBIE- Script debugging
Replies: 5
Views: 11910

NOOBIE- Script debugging

Noobie here! I am not well versed in JS. I have a script that someone else wrote and is timing out. I would like to know best ways to debug the script? I would like to be able debug line by line, if possible. Or verbose to log file? I don't see that ability in SwitchScripter application. Thank you f...
by FrankT
Tue Aug 20, 2024 4:23 pm
Forum: Switch
Topic: How to create dummy problem job for testing email template
Replies: 2
Views: 7242

Re: How to create dummy problem job for testing email template

HI and thank you for your response.

If i understand you correctly, inject a job directly into the PROBLEMS folder and put on hole before it gets to the email app?

Sorry, I am kinda new at this.
by FrankT
Mon Aug 19, 2024 8:15 pm
Forum: Switch
Topic: How to create dummy problem job for testing email template
Replies: 2
Views: 7242

How to create dummy problem job for testing email template

Hi,
I want to test an email template for problem jobs. I want to get as much job info in the email.

Is there a way to create a dummy problem job that would contain the info varaibles?

Thanks.
by FrankT
Thu Aug 15, 2024 3:45 pm
Forum: Flows
Topic: Multi-line text with variables - need carriage returns
Replies: 3
Views: 8001

Re: Multi-line text with variables - need carriage returns

Thanks this is what i needed! One more question, I am having trouble embedding an image in my email template, like the way the default does. The image is located in the same directory as my template, but in the email, image cannot be displayed. this is the html i am using: <img src="cid:D:\Swit...
by FrankT
Tue Aug 13, 2024 8:37 pm
Forum: Flows
Topic: Multi-line text with variables - need carriage returns
Replies: 3
Views: 8001

Multi-line text with variables - need carriage returns

I am defining a multi-line text with variables for the body of an email. I want to list the selected variables on separate lines of the email body. How to i include/use carriage returns or line feeds? This is how it looks in the setup Flow Name: [Job.FailFlow] Job Name: [Job.Name] Failure Message: [...
by FrankT
Thu Aug 08, 2024 7:42 pm
Forum: Flows
Topic: Flow testing without activating
Replies: 5
Views: 11406

Re: Flow testing without activating

Thanks rdh_ole

That's what I thought I would have to do.
by FrankT
Thu Aug 08, 2024 5:27 pm
Forum: Switch
Topic: Help-Easy way to delete entire directories with Switch
Replies: 4
Views: 12189

Re: Help-Easy way to delete entire directories with Switch

this is what i needed! thank you
by FrankT
Thu Aug 08, 2024 5:27 pm
Forum: Flows
Topic: Flow testing without activating
Replies: 5
Views: 11406

Re: Flow testing without activating

Yes i have a trial license on the new server, however after importing the flows, i need to test them. Since they point to control/test/reports directories that the group is using, I would like to test everything in the flows without using those directories. I guess i can just change them to point so...
by FrankT
Thu Aug 08, 2024 4:46 pm
Forum: Flows
Topic: Flow testing without activating
Replies: 5
Views: 11406

Flow testing without activating

I am migrating to a new server. I have exported my flows from the old server and imported to the new.
Is there a way to test the flow without activating it? I do not want to disrupt the group using the flow.

I am running Spring 2024 version.