0

I used my user account (not system account) to create ms flow and sharepoint workflow using SPdesigner2013.

I'll explain the process:

when we send an email to a shared mailbox, the msflow will create an item in stage list and associated designer workflow will create another item in "ticket list".

Once it's created, "id" designer workflow will assign an unique id to the created item. But the id assigning workflow is not being triggered automatically but it starts automatically when an item is changed or modified. I need to start automatically when an item is created, I tried the trigger options

I tried maximum troubleshooting as well but it didn't help, Now I got a workaround to update in sharepoint server with a sharepoint online management powershell command. I'm not sure how to use it. please help me how to initiate it and also other troubleshooting techniques as well. Help me fix this Thanks in advance.

PFB the command: stsadm.exe –o setproperty –propertyname declarativeworkflowautostartonemailenabled –propertyvalue yes

  • Would you please confirm what version of SharePoint you are using? Do you use MS Flow as well as SharePoint Designer Workflow in SharePoint server? – Chelsea_MSFT Sep 24 at 2:52
0

Based on your description, SP designer (SPD) WF will be triggered when an item is created in list "Stage", right? Have you checked the SPD WF "Start Options"? List => Workflow Settings (Ribbon)=> Workflow Settings => [Your SPD WF]

enter image description here

| improve this answer | |
  • I checked that already. The workflow in stage list is perfect but the problem is with the ticket list. Once an item is created the “ID” workflow doesn’t trigger automatically. For that when I walk through, I got this command. I need a clarification on how can I implement this command. – Thariq Aziz Sep 23 at 1:33
  • There might be limitations that the SP2013 Designer workflow not being triggered on "Item created" when item is created by another workflow, in this case, MS Flow. You can read more on this here: sharepoint.stackexchange.com/questions/174732/… – Matiur Rahman Sep 24 at 2:40
  • As the 2010 sharepoint designer is about to expire, we can't implement this step, please suggest me if any . Thanks a lot in advance – Thariq Aziz Sep 24 at 10:06
0

Per my understanding, you want to trigger the id assigning workflow on item creation by the associated designer workflow.

Triggering one workflow on item creation by another is not supported, which is by design to prevent recursion. So I don’t think running the command would help.

Consider using the Start a List Workflow action if you are using SharePoint Server. This action only supports triggering a SharePoint 2010 workflow within a SharePoint 2013 workflow.

| improve this answer | |
  • As the Sharepoint 2010 workflow is about to expire in a month, will this step still work after Nov 1, 2020? – Thariq Aziz Sep 24 at 10:04
  • @ThariqAziz So I guess you are using SharePoint Online? If so then no, it won't work after the retirement. – Chelsea_MSFT Sep 25 at 1:16
  • Yes, I'm using Sharepoint site online. Is there any suggestion other than this to trigger or how can we run this below command stsadm.exe –o setproperty –propertyname declarativeworkflowautostartonemailenabled –propertyvalue yes – Thariq Aziz Sep 25 at 5:52
  • @ThariqAziz The stsadm commands won’t work in Online environment. I would suggest you use MS Flow to replace SharePoint Designer workflows and to trigger another flow. See the reference here: flow.microsoft.com/zh-cn/blog/… – Chelsea_MSFT Sep 25 at 6:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.