cassymfreeman

Site collection reusable workflow template conditional start

Jump to solution

Hi All

I have many Site collection reusable workflow templates that I am using for an application.  Each of the workflows needs to start on a content type on modify, but conditionally.

I add the conditional start to the Site collection reusable workflow template but it is running on the content types on all updates, not just the ones I want it to.  this is really halting progress for delivery of an application and I am pulling my hair out.

has anyone come across this before?

0 Kudos
Reply
4 Replies
akrasheninnikov
Scholar

Re: Site collection reusable workflow template conditional start

Jump to solution

Hi Cassy, 

Have you found a solution or a workaround? We have a different issue with reusable workflows conditional start, I'm currently looking for hints.

For your situation, a workaround could be to use the Filter action to stop unneeded processing of wrong content types as the first in the definition.

0 Kudos
Reply
cassymfreeman

Re: Site collection reusable workflow template conditional start

Jump to solution

hi yes I had this back from support:

Our developers have come back to me with regards to this issue This issue is occurring due to the column name being above 32 characters long, the spaces add an additional 7 characters each. I have tested your solution with a shorter column name and I did not have any issues Can you test your solution with a shorter column name and let me know what happens

AND

This behavior is due to the limitations of SharePoint. Microsoft have imposed the 32 character limit on the internal column names which causes the behaviors that we observed. This is not something that we can change the workaround would be to have shorter column names instead of spaces "-,_" could be used.

I tested this and it worked...

View solution in original post

0 Kudos
Reply
greenawayr
Scout

Re: Site collection reusable workflow template conditional start

Jump to solution

Hi @cassymfreeman 

 

Hope you're keeping well. Wondered if I could drag this up as we have an issue with Site Collection Reusable Workflow Templates. We're publishing a workflow with a conditional start, but when we then associate it with the content type in the list, when published as a "Conditional" start the checkbox in the workflow settings are greyed out.

 

greenawayr_0-1624549787218.png

Just wondering if you also saw this and worked around it, or whether there's a new issue in SP2019 that we've hit.

 

Appreciate this is a few years old and might not be something to can check, but thought I'd ask.

Thanks

0 Kudos
Reply
cassymfreeman

Re: Site collection reusable workflow template conditional start

Jump to solution

i think that is normal behaviour. If you just associate it in that way (with them greyed out) you should find the workflow starts when the conditions are met.

 

Hit me up for a call if you'd like, happy to take a look with you (be nice to catch up)

0 Kudos
Reply