SharePoint suspended workflow – SharePoint Stack Exchange

According to my understanding of your problem,when you run a Microsoft SharePoint 2013 workflow in SharePoint Online, you experience the following behavior:
The status of the workflow returns an internal status of Suspended.

Please follow these steps:

  1. Open the affected workflow in Microsoft SharePoint Designer 2013.

  2. On the Workflow Settings page for the workflow, clear the Automatically update the workflow status to the current stage name check box.

enter image description here

  1. Save the workflow, and then and publish it to the SharePoint website.

  2. Run the workflow again.

workflow – Using Google Location History to add GPS tags to Lightroom photos?

I import photos through Lightroom, and I’d like to tag them with GPS coordinates, can someone suggest a good workflow for this?

Years ago, I used to get GPS tracks from my Google Location History, then run a tool to automatically apply tags to these photos, but those scripts are likely obsolete.

sharepoint 2016 workflow error – SharePoint Stack Exchange

below is what the URL log is telling me my error is but i cant figure it out any help would be very much appreciated
Microsoft.Workflow.Client.InternalServerException: Exception thrown from the data layer. For more details, please see the server logs. HTTP headers received from the server - ActivityId: ec23db4e-541a-46d8-a4b9-10cfdb36cc3b. NodeId: SHAREPOINTSITE. Scope: /SharePoint/default/a59b336d-2b82-4a00-a7b8-2de1b84af71c. Client ActivityId : f255c49f-033a-c062-2721-4ee6b1171a38. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.

at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult result)    
at Microsoft.Workflow.Client.ClientHelpers.SendRequest(T)(HttpWebRequest request, T content)     -
-- End of inner exception stack trace ---    
at Microsoft.Workflow.Client.ClientHelpers.SendRequest(T)(HttpWebRequest request, T content)    
at Microsoft.Workflow.Client.WorkflowManagementClient.SendRequest(T)(HttpWebRequest request, T content)    
at Microsoft.Workflow.Client.ScopeManager.PublishScopeInternal(ScopeDescription description, String() pathSegments)    
at Microsoft.Workflow.Client.ScopeManager.PublishChildScope(String childScopeName, ScopeDescription description)    
at Microsoft.SharePoint.WorkflowServices.SPWebWorkflowSecurityContext.CreateServiceGroup(String scopeAddress, ScopeDescription serviceGroup)    
at Microsoft.SharePoint.WorkflowServices.SPWebWorkflowSecurityContext.CreateOrUpdateServiceGroup(SPWeb lookupWeb, SPAppPrincipal app) StackTrace: 
at Microsoft.Office.Server.Native.dll: (sig=5fa0e72f-c37c-49be-8b42-b95544077530|2|microsoft.office.server.native.pdb, offset=28719)
at Microsoft.Office.Server.Native.dll: (offset=2EAF6)```

workflow – How to separate different subjects images automatically?

This is a generally good question — I’d always be interested in an efficient way to “pre-edit” during the shoot. The bad news is I don’t think there’s any easy solution, at least for canon.

My suggestions:

  1. Change your goal from tagging all pictures in a group, to marking the first picture of a group. This can be done with the camera, or in an old-fashioned way.

Camera: On the camera playback mode, assign 1 star to the first picture taken from each group. This is many clicks, but it is a true metadata change to identify a photo. There may be a way to assign the star rating through a custom function or another set-up, but I didn’t find any obvious methods when looking.

Old-fashioned: Signal a transition in the album by taking a picture of an all-black or all-white something. Better, make a cue card and write the relevant meta-data on it for each object shoot. Take this picture before each new shoot, or after, but be consistent. On post-production you still need to visually group the photos. To me this is the easiest and most reliable solution.

  1. Write a script.
    timestamp evaluation
    Let’s assume there is an added delay for tear-down and set-up between shoots. You could write a script that reads the datetime stamp metadata after import, and identifies gaps greater than X minutes in the time the photo was taken, and bins the photos based on this. One better is a function that estimates boundaries between shoots, by identifying a delay that is 2-4 standard deviations longer than the average delay. Head over to the coding stacks for how to make this more robust or customized to your studio’s workflow.

detect all-black picture
Assume you take an all-white or all-black photo between objects, suggested in part 1. On import, (write and) run a script that filters for photos by exposure threshold–a high one if all-white picture is taken, a low one if all-black. Then, pictures between each identified all-X picture are put into respective folders.

The first scripting solution can likely be done with just about any coding language and no special downloads. This one would require some level of photo processing, but would be more reliable.

  1. AI software on computer.
    Google Photos, Apple, and I think Amazon all have some level of object-recognition software that will sort your pictures. It’s likely part of many professional photo management software too. It won’t be fool-proof, but it would probably get within a 95% accuracy, depending on differences in your objects.

Finally,
Some marginal details that could be relevant for other, slightly different use cases: Some cameras and/or software will put photos into separate folders by date and/or geo-location (must be on camera). Useful only if such details are changing between shoots, but at least captures coarse-grain grouping of photos.

The option for the SharePoint 2013 Workflow platform is not available in SharePoint Online

One of our users reported an issue in a specific SharePoint Online classic Team site. On this site, SharePoint Designer 2013 does not allow us to create Workflows 2013. I checked and confirm that I also can’t create 2013 Workflows.

Does anyone know how is this possible allow/disallow or enable/disable workflow 2013 engine for a specific site?

enter image description here

Message from SharePoint Designer

The option for the SharePoint 2013 Workflow platform is not available
because the workflow service is not configured on the server. Please
contact your server administrator.

Addition info

  • All other sites allow us to create 2013 workflows with no issues.
  • I am a site collection administrator.
  • Custom scripts are allowed at the site.

Tenant settings
enter image description here

Update – found a solution

I have also activated the Workflow feature under the Workflow settings > Workflow Health

enter image description here

enter image description here

Result: Still no Workflow 2013 option listed. It worked after a 10-min delay.

SharePoint Workflow Start task process assigned to Distribution List

I created a SharePoint workflow and used the start task process. I assigned the task to an Outlook distribution list (DL). I selected "assign a task to each member within groups". The workflow runs, but it only assigns tasks to two of the four people on the DL. Any idea what is going wrong?

lock – this task is currently locked by a running workflow and cannot be edited. sharepoint 2013

I have faced this issue my self. When it has happened to me it was caused by a secondary workflow running on the task list.

The Root of the Issue

For instance if you have a secondary workflow (say to set the due dates, or send emails) automatically running on the task list when a task is created, that can cause the locked by another workflow error. Then if you try and complete the task before it unlocks the task it will be locked forever. From my experience even after the workflow running on the task says it is completed, the service the checks and unlocks the task may not have run yet.

You can check that the task is unlocked by going to the workflow history (or the task list associated) of the primary workflow/task, and check if the locked task says “Not Started” or “In Progress” under status. If it is “Not started” that means the task is locked still and you will get that error.

Possible Solutions

The only real solution I have found has been to no use a secondary workflow, or wait until the task becomes unlocked (which sometimes takes extremely long times depending on how bogged down the task service is).

Task Item added event receiver does not fire when item is added by Nintex workflow SharePoint 2016

I am trying to add an event receiver on the workflow task – list Item Added event, to get the Task ID and update it on another SharePoint List.

This is because once I add an Assign Flexi Task action on the Nintex workflow, there is no way to get the created task ID in the workflow, unless someone actions on the task.

However, the Event Receiver on the Workflow Task list Item Added event does not fire!?

Can someone help me in solving this? or any alternative solution please.enter image description here

enter image description here

Query if a Distribution List is being used in a sharepoint workflow

I don’t think there is a direct way to get what you are looking for. SharePoint workflow details are in XAML (xml) format and can be retrieved from several SharePoint APIs.

You should be able to retrieve the XAML with a PowerShell PNP cmdlet. (Get-PnPWorkflowDefinition) Note that Get-PnPWorkflowDefinition is deprecated in the current version of the PNP library. This were deprecated due to workflows being deprecated in SharePoint Online. If you can’t find it, or an older version of the library, there is a direct web service call alternate (The PNP cmdlets internally call web services.)

Otherwise for SharePoint On-Prem, do a web search for New-Object Microsoft.SharePoint.Client.WorkflowServices.WorkflowServicesManager. You would need to run this PowerShell code on the SharePoint server.

If you are a .NET developer, you could run code against this same object Microsoft.SharePoint.Client.WorkflowServices.WorkflowServicesManager, again running the code on the SharePoint server.

You would need to retrieve each workflow, extract the XAML and check for the distribution list name. If the list names are reasonably unique you could just do a string search of the XAML, otherwise you would use PowerShell or .NET to convert it to an XML Document and then parse it.

tools – How do you optimise a session-summary workflow for roleplay sessions on Discord?

To create session summaries, I prefer using congregated individual session data. The data I focus on is the number of events, their corresponding dice-rolls, and chat messages to the next event. This workflow enables me to work faster and more conveniently than having all sessions’ data in one place.

I currently export Discords channel-chat-logs from the beginning to the end of a session via the Discord History Tracker. Unfortunately, the output comes in a format that isn’t easy for transferring the data to an .ods sheet, so I end up copying many things manually, which is more work than I can reasonably afford to put in.

So with “the number of events, their corresponding dice-rolls, and chat messages to the next event.” on your mind: How do you optimise a session-summary workflow for roleplay sessions on Discord?