<?xml version="1.0"?>
<rss version="2.0"><channel><title>Workflows Latest Topics</title><link>https://forum.pulseway.com/forum/86-workflows/</link><description>Workflows Latest Topics</description><language>en</language><item><title>Workflow hangs when executing shell command on ubuntu despite command executing</title><link>https://forum.pulseway.com/topic/5364-workflow-hangs-when-executing-shell-command-on-ubuntu-despite-command-executing/</link><description><![CDATA[<p>Hello,</p><p>Just want to preface this by saying I’m fairly new to SysAdmin work. That said, I appreciate any insight and would kindly ask if replies could avoid assuming too much context. :)</p><p>I was tasked with opening a specific URL on every machine in the domain at a scheduled time. I set up a workflow (currently running only on manual starts from the Automation Hub) as follows:</p><ol><li><p>Windows: <code>Start-Process "explorer.exe" "[URL]"</code></p></li><li><p>macOS: <code>open "[URL]"</code></p></li><li><p>Linux (Ubuntu 24 test machine): see below</p></li></ol><p>On Windows and macOS, the commands work perfectly and the workflow ends as soon as the browser launches.</p><p>On Linux, however, I ran into issues. The Pulseway agent always seems to execute commands as root (even when the “Run as logged in user” option is selected).</p><p><img class="ipsImage ipsRichText__align--block ipsRichText__align--width-custom" data-fileid="1508" src="https://forum.pulseway.com/uploads/monthly_2025_09/image.png.60fa3e86c0b038e69599fff35d355c7a.png" alt="image.png" title="image.png" width="575" height="541" style="--i-media-width: 291px;" loading="lazy"></p><p>I tried running the command as the seat0 user with <code>runuser -u</code>, but Firefox/xdg-open wasn’t inheriting <code>$DISPLAY</code>/<code>$WAYLAND_DISPLAY</code>, <code>$XDG_RUNTIME_DIR</code>, and <code>$DBUS_SESSION_BUS_ADDRESS</code> correctly.</p><p>After a lot of band-aid fixing, I ended up with this super scuffed one-liner (I am aware this is probably very suboptimal, but it at least launches Firefox so I'm not touching it until I know more):</p><pre spellcheck="" class="ipsCode language-bash" data-language="Bash"><code>U=$(loginctl list-sessions --no-legend | awk '$4=="seat0" &amp;&amp; $3!="gdm" &amp;&amp; $3!="lightdm"{print $3; exit}'); if [ -n "$U" ]; then UID=$(id -u "$U");
(runuser -u "$U" -- bash -c '((
env WAYLAND_DISPLAY=wayland-0 
XDG_RUNTIME_DIR=/run/user/'"$UID"' 
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/'"$UID"'/bus
/usr/bin/firefox --no-remote --new-instance --new-window --start-maximized "[URL]"
&gt;/dev/null 2&gt;&amp;1) &amp;) &amp; disown'); fi; exit 0</code></pre><p>This does successfully launch Firefox with the URL, but the workflow action hangs for ~30 minutes (until max execution time hits, currently set to 1h).</p><p>I’ve tried:</p><ul><li><p><code>&gt;/dev/null 2&gt;&amp;1 &amp;</code></p></li><li><p><code>nohup</code></p></li><li><p><code>disown</code></p></li><li><p>spawning a subshell and exiting it in hopes that would trigger the pulseway agent to get a kind of "command executed" signal.</p></li></ul><p>But nothing has worked, the workflow still hangs instead of completing once the command is handed off.</p><p>So I think I’m misunderstanding something fundamental either about Linux process handling, or how Pulseway agents execute/track Linux commands within workflows.<br>Happy to provide any further information if needed, thank you in advance!</p><p>Veljko (Max)</p>]]></description><guid isPermaLink="false">5364</guid><pubDate>Fri, 05 Sep 2025 13:15:51 +0000</pubDate></item><item><title>Pulseway offline 3 hour check</title><link>https://forum.pulseway.com/topic/5466-pulseway-offline-3-hour-check/</link><description><![CDATA[<p>Hello all, </p><p>Do you guys know of a way to make Pulseway send out notifications for an offline device that has been down every 3 hours or so? The initial notification is handy, but can we forget to go back to it. A 3-hour notification seems to be a good reminder to go fix the stuff. The other solution is sending it out to a ticketing system but that's just additional step that we would like to avoid. </p>]]></description><guid isPermaLink="false">5466</guid><pubDate>Fri, 23 Jan 2026 17:32:41 +0000</pubDate></item><item><title>Workflow: Notification Trigger Type und Context</title><link>https://forum.pulseway.com/topic/5469-workflow-notification-trigger-type-und-context/</link><description><![CDATA[<p>Hello everyone,</p><p>I am wondering why the Context (for example Scope or Device) is only available when using the Ad hoc trigger type in a workflow, but not when selecting Notification as the trigger.</p><p>I am aware that I can add checks for the device inside the workflow itself, but I would prefer to execute the workflow only when a notification is triggered for specific device or devices. Is there a reason why this context information is not available at the trigger level?</p>]]></description><guid isPermaLink="false">5469</guid><pubDate>Thu, 29 Jan 2026 12:32:05 +0000</pubDate></item><item><title>Get Device Value/ check file exists</title><link>https://forum.pulseway.com/topic/5358-get-device-value-check-file-exists/</link><description><![CDATA[<p>I think there is a bug with "Get Device Value"/ check file exists, it always returns YES.<img class="ipsImage ipsRichText__align--block" data-fileid="1496" src="https://forum.pulseway.com/uploads/monthly_2025_08/Screenshot2025-08-15140756.png.5ae0d11846a18f37be776c52b88cdfa0.png" alt="Screenshot 2025-08-15 140756.png" width="493" height="662" loading="lazy"></p><p></p>]]></description><guid isPermaLink="false">5358</guid><pubDate>Fri, 15 Aug 2025 19:09:22 +0000</pubDate></item><item><title>Notify if all devices in a group go offline</title><link>https://forum.pulseway.com/topic/5359-notify-if-all-devices-in-a-group-go-offline/</link><description><![CDATA[<p>As the title suggests, is there a way to get notified if all devices in a group go offline? </p><p>I am not bothered when even a single device is online, I only want to know when all of them are offline.</p><p></p><p>cheers</p><p>pav</p>]]></description><guid isPermaLink="false">5359</guid><pubDate>Mon, 18 Aug 2025 15:12:01 +0000</pubDate></item><item><title>Script input value loss after updating</title><link>https://forum.pulseway.com/topic/5340-script-input-value-loss-after-updating/</link><description><![CDATA[<p>Hi, I am new to Pulseway and still exploring automation features. I have a workflow that calls a script with input variable. Every time I change/ update the script, the input value get lost, and I need to re-add the script to the workflow again which is really annoying. Is it normal or do I miss a configuration somewhere? Thank you</p>]]></description><guid isPermaLink="false">5340</guid><pubDate>Fri, 11 Jul 2025 15:30:44 +0000</pubDate></item><item><title>Task Schedule Timezone Issues</title><link>https://forum.pulseway.com/topic/5309-task-schedule-timezone-issues/</link><description><![CDATA[<p>I noticed that several of the Schedules on Tasks that I've created, seem to be creeping.</p><p>I suspect that this is likely due to the fact that I work remotely from Wisconsin (in the CST Time Zone), while my employer and many of our customers are located in California (in the PST Timezone).</p><p>For instance, I set the Schedule to Run every 2nd Thursday at 12:00 AM CST (the equivalent of Wednesday 10:00 PM PST) and a week or two later, I find that it is running a full 24 hours behind schedule.</p><p>That said, you may want to look into this, as the Schedules definitely don't seem to be functioning reliably, across Timezones, etc.</p>]]></description><guid isPermaLink="false">5309</guid><pubDate>Wed, 28 May 2025 23:36:34 +0000</pubDate></item><item><title>"System Back Online" trigger does not work on every (virtual) machine</title><link>https://forum.pulseway.com/topic/5016-system-back-online-trigger-does-not-work-on-every-virtual-machine/</link><description><![CDATA[<p>
	I have a Macbook and a windows laptop that are both starting the workflow that is started with the trigger "System Back Online".  Building a virtual test machine to re-build our onboarding (we are in migration to Pulseway), the workflow is not started on this virtual machine.  Computers are all in the same organization\group.  Only diff is physical vs virtual.  Could that be an issue? Any other pointers/reasons to check maybe?  Thx
</p>
]]></description><guid isPermaLink="false">5016</guid><pubDate>Sat, 06 Jan 2024 15:09:56 +0000</pubDate></item><item><title>Workflow fails when installing application</title><link>https://forum.pulseway.com/topic/5249-workflow-fails-when-installing-application/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	I am trying to run a workflow to automatically install an application via Workflows -&gt; Create from Template -&gt; Deploy Application From EXE File.<br />
	I have replaced the "Get URL" Workflow with "Write File" to download from the Managed Files storage area as described in the template.<br />
	However, when running the workflow it fails at the process of installation.<br />
	When I check the workflow history I see the following error: Timeout to respond with EXECUTE_FILE for 62bfb72f-9bff-433c-ba9a-426f17d5721a<br />
	Whenever I try this with another file (Notepad++), also stored in the Managed Files storage area, it works like a charm.<br />
	<br />
	Any ideas?
</p>

<p>
	Thanks in advance!
</p>

<div style="color:#676a6c;font-size:13px;">
	<div dir="ltr">
		<div>
			<div style="font-size:14px;padding:4px 8px;">
				 
			</div>
		</div>
	</div>
</div>

<div style="border:0px;color:#676a6c;font-size:13px;padding:0px;">
	<div>
		 
	</div>

	<div>
		 
	</div>

	<div>
		 
	</div>

	<div>
		 
	</div>

	<div>
		 
	</div>

	<div>
		 
	</div>

	<div>
		 
	</div>

	<div>
		 
	</div>

	<div>
		 
	</div>

	<div>
		 
	</div>

	<div>
		 
	</div>

	<div>
		 
	</div>

	<div>
		 
	</div>

	<div>
		 
	</div>
</div>
]]></description><guid isPermaLink="false">5249</guid><pubDate>Tue, 03 Dec 2024 13:55:33 +0000</pubDate></item><item><title>Request for help! Trying to record local admin group memberships for all systems</title><link>https://forum.pulseway.com/topic/5226-request-for-help-trying-to-record-local-admin-group-memberships-for-all-systems/</link><description><![CDATA[<p>
	Hi Guys,
</p>

<p>
	I've cobbled together a workflow using Powershell that looks at membership of the local Administrators group and that output is emailed to me. That's gone without issue but I want to refine it and that's where I'm struggling.
</p>

<p>
	So I know that in our case, every machine's local admin group has some membership, i.e. the local admin account and our domain admins group. I want to filter these machines out and have email results for only those where there's anything more than those "defaults".
</p>

<p>
	 
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="png" data-fileid="1348" href="https://forum.pulseway.com/uploads/monthly_2024_10/Screenshot2024-10-17104817.png.b7b4e80c5facfc3768f14c07947bbafa.png" rel=""><img alt="Screenshot2024-10-17104817.thumb.png.a935780284e50329a60ba6f4d8ab9e95.png" class="ipsImage ipsImage_thumbnailed" data-fileid="1348" width="999" src="https://forum.pulseway.com/uploads/monthly_2024_10/Screenshot2024-10-17104817.thumb.png.a935780284e50329a60ba6f4d8ab9e95.png" loading="lazy" height="749.25"></a>
</p>

<pre class="ipsCode">Get-LocalGroupMember -Group 'Administrators' | Where-Object {$_.PrincipalSource -ne 'Local' -and $_.Name -ne 'MyDomain\Administrator' -and $_.Name -ne 'MyDomain\Domain Admins'} | Select-Object -Property 'Name','PrincipalSource'</pre>

<p>
	This code works locally and using Pulseway's remote Powershell function. What I was <strong>hoping</strong> to do was to basically skip a system if the output of the code was blank or null. For systems where I haven't received any output back when using Pulseway's Powershell, I guess I don't know if the output is actually completely empty or not. I also don't know if using Pulseway's variable function is considered separately to the Powershell environment the code gets run in, if that makes sense? When I try to run the workflow on a single machine I always get emailed the results, even when the return from the Powershell is blank.
</p>

<p>
	I'm not brilliant with Powershell so have been searching around for alternatives. I was wondering about return codes perhaps but could I also put these into a Pulseway workflow?
</p>
]]></description><guid isPermaLink="false">5226</guid><pubDate>Thu, 17 Oct 2024 10:14:25 +0000</pubDate></item><item><title>Any way to log off users from a Remote Desktop Server after a certain amount of inactivity?</title><link>https://forum.pulseway.com/topic/5081-any-way-to-log-off-users-from-a-remote-desktop-server-after-a-certain-amount-of-inactivity/</link><description><![CDATA[<p>
	I was wondering if there was a way to put together a script/workflow that would log a user out of a Windows remote desktop environment after a certain amount of inactivity 
</p>

<p>
	 
</p>

<p>
	Been looking around, but can't seem to find any examples - which a bit of a surprise to be honest.... 
</p>

<p>
	Thanks!
</p>
]]></description><guid isPermaLink="false">5081</guid><pubDate>Wed, 24 Apr 2024 14:14:01 +0000</pubDate></item><item><title>Workflow Scope Switches to 'All Systems' After Saving</title><link>https://forum.pulseway.com/topic/5055-workflow-scope-switches-to-all-systems-after-saving/</link><description><![CDATA[<p>
	I'm trying to create an Ad-hoc workflow and every time I choose Scope as the context and click 'save' it changes the context to 'All Systems' regardless of what I actually chose. Is there something I'm not understanding about workflow context or is this a bug?
</p>

<p>
	<img alt="image.png.303b53348d4506cf625333fc3cf6dff7.png" class="ipsImage ipsImage_thumbnailed" data-fileid="1277" width="663" src="https://forum.pulseway.com/uploads/monthly_2024_03/image.png.303b53348d4506cf625333fc3cf6dff7.png" loading="lazy" height="278.46">
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	<img alt="image.png.7f76ed45ec6a9ffa785283d84b94b3d6.png" class="ipsImage ipsImage_thumbnailed" data-fileid="1279" width="858" src="https://forum.pulseway.com/uploads/monthly_2024_03/image.png.7f76ed45ec6a9ffa785283d84b94b3d6.png" loading="lazy" height="60.06">
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	<img alt="image.png.973e98c75f1e20ce801c3d1a53b498d8.png" class="ipsImage ipsImage_thumbnailed" data-fileid="1278" width="551" src="https://forum.pulseway.com/uploads/monthly_2024_03/image.png.973e98c75f1e20ce801c3d1a53b498d8.png" loading="lazy" height="269.99">
</p>
]]></description><guid isPermaLink="false">5055</guid><pubDate>Mon, 18 Mar 2024 18:17:54 +0000</pubDate></item><item><title>Scheduled delete devices</title><link>https://forum.pulseway.com/topic/5033-scheduled-delete-devices/</link><description><![CDATA[<p>
	How to make a scheduled workflow for deleting devices that haven't connected for a certain defined time?<br />
	Is this possible to start with?
</p>
]]></description><guid isPermaLink="false">5033</guid><pubDate>Fri, 16 Feb 2024 13:58:49 +0000</pubDate></item><item><title>Workflow to send message to the user if computer has been online for X amount of days/time</title><link>https://forum.pulseway.com/topic/5005-workflow-to-send-message-to-the-user-if-computer-has-been-online-for-x-amount-of-daystime/</link><description><![CDATA[<p>
	Is there any way to do this because i can't figure out a simple way to do it and was wondering if anyone else knew or does this or if im just missing something.
</p>
]]></description><guid isPermaLink="false">5005</guid><pubDate>Wed, 29 Nov 2023 19:50:11 +0000</pubDate></item><item><title>Execute Workflow Action Removed in 9.4?</title><link>https://forum.pulseway.com/topic/4986-execute-workflow-action-removed-in-94/</link><description><![CDATA[<p>
	Was the Execute Workflow action moved / removed in the 9.4 update? It appears if I copy or modify an existing execute workflow action it still functions as expected, but I am not seeing it in the action pane.
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="1187" width="273" alt="image.png.457a3f595109397d804ba94ff3039135.png" src="https://forum.pulseway.com/uploads/monthly_2023_10/image.png.457a3f595109397d804ba94ff3039135.png" loading="lazy" height="174.72"><img class="ipsImage ipsImage_thumbnailed" data-fileid="1188" width="328" alt="image.png.7dd7f8767734cbbbec925e33a230a3df.png" src="https://forum.pulseway.com/uploads/monthly_2023_10/image.png.7dd7f8767734cbbbec925e33a230a3df.png" loading="lazy" height="114.8">
</p>
]]></description><guid isPermaLink="false">4986</guid><pubDate>Tue, 24 Oct 2023 16:47:42 +0000</pubDate></item><item><title>Workflow action gives X error</title><link>https://forum.pulseway.com/topic/4980-workflow-action-gives-x-error/</link><description><![CDATA[<p>
	We have a big workflow for onboarding computers into our system. We want to install some applications and we use our own scripting for this. In this script we download some files from our own server to the script and install the application. When the script is run standalone it works fine and takes some time. In the workflow it does run and finish installing the app however, the workflow says the following: "Agent failed to report the script execution status in the allocated time". Is it possible to change this allocated time or is there a more efficient way of installing applications.
</p>
]]></description><guid isPermaLink="false">4980</guid><pubDate>Mon, 16 Oct 2023 11:26:47 +0000</pubDate></item><item><title>How to run a script if there is a "Reboot Pending" notification</title><link>https://forum.pulseway.com/topic/4974-how-to-run-a-script-if-there-is-a-reboot-pending-notification/</link><description><![CDATA[<p>
	If I configure Pulseway to receive a notification in the event of a pending reboot, I'd like to be able to launch a script. I'm looking in Workflow, but I can't find the trigger in Triggers.
</p>
]]></description><guid isPermaLink="false">4974</guid><pubDate>Sun, 08 Oct 2023 12:36:28 +0000</pubDate></item><item><title>The new workflow commands are not responding</title><link>https://forum.pulseway.com/topic/4968-the-new-workflow-commands-are-not-responding/</link><description><![CDATA[<p>
	Hi. im trying to execute file and run a shell on a workflow but nothing happens. even tried a simple "New-Item -ItemType Directory -Path C:\Path\To\New\Folder" shell command but no folder is created as system or logged in user, and no logs to see what or why. <br />
	<br />
	Is anyone else having luck with this?<br />
	 
</p>
]]></description><guid isPermaLink="false">4968</guid><pubDate>Thu, 21 Sep 2023 13:35:54 +0000</pubDate></item><item><title>Scheduled Workflow invoking Tasks</title><link>https://forum.pulseway.com/topic/4969-scheduled-workflow-invoking-tasks/</link><description><![CDATA[<p>
	We leverage several scheduled workflows to automate parts of our maintenance cycles. However we have noticed that when a workflow calls a 'Run Task' item it tries to run the task in the scope of the workflow rather than the scope assigned to the task itself. We resorted to tasks as a method of handling multiple scopes because workflows invoked from a scheduled workflow also run in the context of the calling scheduled workflow rather that its assigned scope. 
</p>

<p>
	Please advise. 
</p>
]]></description><guid isPermaLink="false">4969</guid><pubDate>Thu, 21 Sep 2023 13:52:46 +0000</pubDate></item><item><title>Workflow for High CPU Utilization</title><link>https://forum.pulseway.com/topic/4928-workflow-for-high-cpu-utilization/</link><description><![CDATA[<p>
	I want to establish a workflow to monitor high CPU utilization on servers and workstations.  I am able to create the workflow for CPU utilization &gt; 90%.  However, If a server gets over 90% utilization, I don't want it to immediately fire off a Pulseway ticket to us.  I would like the workflow to recognize a server has been above 90% CPU utilization for x amount of minutes. Is this possible?  If not, is there a default timer for things like high CPU utilization, high memory utilization, etc.?
</p>

<p>
	Thoughts?
</p>
]]></description><guid isPermaLink="false">4928</guid><pubDate>Wed, 02 Aug 2023 19:31:20 +0000</pubDate></item><item><title>Windows defender difficulties</title><link>https://forum.pulseway.com/topic/4893-windows-defender-difficulties/</link><description><![CDATA[<p>
	Hi Pulseway experts,
</p>

<p>
	I'm Ryan and a happy user of Pulseway, but kind of a starter with probably a little issue which I cannot solve. Could someone help me with the following case?
</p>

<p>
	I provide customers with proactive automation on their devices and there is a issue which after a lot troubleshooting I still cannot fix. I run a policy which monitors daily statuses that check every single process and services. I got this issue ''The antivirus Windows Defender has been disabled on computer ...... in group ...... ''. The service stops daily and I made a workflow to start is again and also tried a workflow which restart the service, but in both cases the windows defender got the same error the next day (when a windows patch took place). There is no 3rd party anti virus in this case.
</p>

<p>
	Could someone have an idea which I can try?
</p>

<p>
	Kindly looking forward to a reply.
</p>

<p>
	Regards,
</p>

<p>
	Ryan. K
</p>
]]></description><guid isPermaLink="false">4893</guid><pubDate>Mon, 08 May 2023 09:45:50 +0000</pubDate></item><item><title>Time sensitive Idle timer?</title><link>https://forum.pulseway.com/topic/4869-time-sensitive-idle-timer/</link><description><![CDATA[<p>
	I read on the Workflow for Time Sensitive section that the Idle timer is not compatible with the Time Sensitive category, but we're trying to create a workflow that sends a notification once a ticket has been unassigned for over an hour. Is this possible with PSA at this point?
</p>
]]></description><guid isPermaLink="false">4869</guid><pubDate>Thu, 02 Mar 2023 14:47:07 +0000</pubDate></item><item><title>What are "Action Parameters" in the "Condition" and how to use them?</title><link>https://forum.pulseway.com/topic/4829-what-are-action-parameters-in-the-condition-and-how-to-use-them/</link><description><![CDATA[<p>
	Hi there,
</p>

<p>
	I've been looking all over and I can't find what are these "Action Parameters" in the "Condition":
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="1080" width="712" alt="image.png.a022aa9f22b91614db6f746d95ba5a27.png" src="https://forum.pulseway.com/uploads/monthly_2022_11/image.png.a022aa9f22b91614db6f746d95ba5a27.png" loading="lazy" height="441.44">
</p>

<p>
	 
</p>

<p>
	Can someone explain how do these options work, please? 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">4829</guid><pubDate>Tue, 29 Nov 2022 09:16:59 +0000</pubDate></item><item><title>New Event Log Trigger for Automation Workflows</title><link>https://forum.pulseway.com/topic/4203-new-event-log-trigger-for-automation-workflows/</link><description><![CDATA[<div style="font-size:14px;">
	You can now trigger workflow executions from Event Logs notifications and evaluate Event Id, Level, Message, Name, Source and Filter Title in conditions to build even more customisable workflows for your IT processes.
</div>

<div style="font-size:14px;">
	 
</div>

<div style="font-size:14px;">
	<img alt="event-trigger.png" class="ipsImage" data-ratio="94.82" height="750" width="752" src="https://www.pulseway.com/Images/home/new/v871/event-trigger.png" loading="lazy">
</div>
]]></description><guid isPermaLink="false">4203</guid><pubDate>Wed, 02 Jun 2021 09:30:36 +0000</pubDate></item><item><title>Delay alert server is down.</title><link>https://forum.pulseway.com/topic/4822-delay-alert-server-is-down/</link><description><![CDATA[<p>
	I am trying to setup a workflow that will notify me once a server is down. I know how to configure this part but my question is how can I delay the alert so I'm not getting alerts from a server rebooting from patching. If the server is down for more then 5 minutes, then alert me. Guidance is appreciated.
</p>
]]></description><guid isPermaLink="false">4822</guid><pubDate>Thu, 03 Nov 2022 01:36:43 +0000</pubDate></item></channel></rss>
