"When an Item is created or modified" PowerAutomate trigger not firing - power-automate

There are no answers to previous questions on this. 'When an item is created or modified' trigger not firing until manually saved
Basically, when I set up the trigger using the MS Flow / Power Automate Sharepoint trigger "When an Item is created or modified", it only fires when an item is created in a list... it is NOT fired when the list item is modified. This is using Sharepoint 'modern' in an enterprise O365 environment.
My Flow looks like this:
My list looks like this:
If I edit the item and change 'CompName" to something else, the above Flow does not trigger in PowerAutomate. It DOES trigger when I create the new item, just not when I modify it.

The flows run. The 5 minute delay made it appear as if they weren't running.

Related

Trigger event for new file in Netsuite File Cabinet

I'm new to SuiteScript. Is it possible for SuiteScript 2.0 to create a trigger to start some funcionality as soon as a new file is uploaded to a particular folder in Netsuite's File Cabinet (by web services or manually by drag and drop zone)?
Thanks in advance for helping me out.
I do not see that a server side User Event script can fire for the File object like it can for so many other objects. It is not listed in the "Applies To" field for a script's Deployment record.
Additionally, Workflows have a similar field called "Record Type", and it is not listed there, either.
If you are creating File objects via SuiteTalk, you can execute logic after the "add" method is executed synchronously, or you can call a RESTLet if you would like to execute logic server-side in NetSuite.

Microsoft USD - Change URL based on CaseID

I am new to Microsoft Unified Service Desk, therefore please pardon me if i make any mistake.
My scenario is when a call is received by a call center agent in Unified Service Desk then initially he will create a case for the particular customer and initially the caseID will be null therefore call center agent will see a new case window where he can create a case. Once the case is created he will save the details and the caseID will also be saved. Now, in the next step he will transfer the call to the supervisor and in this case the supervisor will not see a new case window instead he will have the details in-front of him of that particular customer that were saved earlier.
But how will i achieve that do i have to create a hosted control and is there a way i can execute JavaScript inside hosted control.
Looking forward to your help.
Thanks.
What you need to do is.
Create 2 Action Calls.
1st Action Call for New Case with Action New CRM Page.
2nd Action Call for Open Case with Action Open CRM Page.
Put Condition inside Action 1 [[$Settings.YourCaseID]]==""
Put Condition inside Action 2 [[$Settings.YourCaseID]]!=""
Create another Action with SaveSetting Action and CRM Global Manager hosted control.
Once the case is saved fire the third action call (It will save the CaseID inside $Setting).
Now when the case is transferred it will open the case with SavedID.

TFS Alert when label is created

Can I configure an alert when a TFS Label is created ? I don't find that option in the current predefined alerts. These are the ones I found:
And I want when a label is created:
Send an email notification.
No, this is not possible using the standard Alert features.
I created my own solution! I don't know how much access you have to your on-premise TFS instance, but you need to be able to execute t-sql scripts against the TFS mssql database. My solution is here: https://github.com/Antebios/tfs-label-notification
And when anyone creates a TFSVC label I get an email alert that looks like this:
Basically, I created a database trigger to populate a table. I query that table and send an email out, then mark the label as sent. I also have a trigger to delete form that table just in case the label gets deleted. I wrote the service in .NET Core just in case anyone wants to convert it to run within a container. Let me know if this helps or not.

Adding a dialog child workflow to an on-demand workflow

I was wondering if anybody ran into the same issue as I am facing now.
What I'm trying to do is have a workflow that checks the condition of a field (optionset) of a form. If the field has option 1, 2 or 3 then create new record with certain shared attributes, otherwise start a child workflow. The child workflow is a "Dialog" process, not a "workflow" process which informs the user that the record was not created and why. For some reason I cannot select the dialog workflow from the dropdown list of available child workflows...
Both the parent workflow and the "dialog" workflow process are based on the same entity.
If anybody has any ideas on how I could debug this or any clues in general I would greatly appreciate your feedback.
Thanks for taking the time to read this post!
It is not possible to call a dialog from a workflow (see here).
Workflows are generally triggered by events.
Imagine the ramifications - which user would receive the dialog and what if no-one was logged in?
One option is to drive everything with JavaScript
Trigger on change of the option set
Create the records
Start the workflow
Start the dialog
See the section under the heading "Opening a Dialog Process by Using a URL" on MSDN here
Rather use the URL than showModalDialog or showModelessDialog.
What might work even better is to call an Action from JavaScript. The Action can run synchronously and create all records, start child workflows and dialogs.
A synchronous workflow can stop an event and return an error message to the user, but cannot return success messages - it look like this will not meet your requirements, but Gareth Tucker has an example here.

TFS 2010 Email Alerts

I found this post, which seems to be an exact duplicate, but I can't figure out how to get the answer to work for me so I'm posting again...
TFS2010: Set up an alert that will email a member in the team when a work item is assigned to them
I want anyone (not everyone) using TFS to receive an email when they are assigned an item or when an item assigned to them changes. So, when the alert happens, the person who is currently assigned the item will receive an email.
I know I can set up this on a per-person basis with Alerts Explorer, but I can't figure out how to do this for everyone at once.
I looked at https://tfsalerts.codeplex.com/, but it looks like it's used to send alerts to groups of people...I only want to send the alert to a single relevant person (the equivalent of #Me). If this tool can do that, I'm not sure how to make it do so.
what you want to do is write a TFS Server Plugin. This plugin will fire whenever a certain event occurs. In your case, you will want to catch the WorkItemChangedEvent. In the notification, you will find old and new values of each field. By checking whether the assigned to field changed, you will know whether the WI has been reassigned.
Once you determined that the WI has been reassigned, you can take the New Value, and go to Active Directory (assuming you're using it), and get the email address. Finally, send a message.
For a code example of writing a robust server plugin (that happens to target the WorkItemChangedEvent, check out this blog post: How to Write a Robust TFS Server Plugin

Resources