Visio Guy

Visio Discussions => Visio Online, Cloud & SharePoint Issues => Topic started by: DarthBrute on December 30, 2017, 07:22:25 AM

Title: Visio 2016 and Sharepoint 2010 - IMAGES CONTAINED
Post by: DarthBrute on December 30, 2017, 07:22:25 AM
Ok I'm new to Visio and fairly intermediate on sharepoint. Currently using Visio 2016, Sharepoint Designer 2013, and my company's Sharepoint is 2010 I believe. I hope I am posting in the right place but I am running into issues when it comes to Workflows.

First I designed this workflow:
http://www.anixero.net/images/LEADS%20SUPPRESSION%20WF1.jpg (http://www.anixero.net/images/LEADS%20SUPPRESSION%20WF1.jpg)

It worked.....except it did both flows. I tried to rearrange it in Sharepoint designer with an Else-If statement on the Approval and Reject.

QuoteIf Current Item:Approval Status equals 0;#Approved
Email person@people.com
then Stop the workflow and log APPROVED
QuoteElse if Current Item:Approval Status equals 1;#Rejected
Delete item in Current Item
then Email Current Item:Created By
then Stop the workflow and log Rejected

And I got a bunch of errors: (0, 0) Activity 'ID19' validation failed: Property "Condition" has invalid value. Condition expression is invalid. Target object for method "Compare" can not be null.)

There are 28 of them. All with different ID##.

http://www.anixero.net/images/SHAREPOINTWORKFLOW1.png (http://www.anixero.net/images/SHAREPOINTWORKFLOW1.png)

So I redesigned the workflow a couple of different times.

http://www.anixero.net/images/approval%20wf4.jpg (http://www.anixero.net/images/approval%20wf4.jpg)
Same result. Just a bunch of errors on publiish attempt.

Now I have this. And I am wondering if it would be good.

http://www.anixero.net/images/LEADS%20SUPPRESSION%20WF6.jpg (http://www.anixero.net/images/LEADS%20SUPPRESSION%20WF6.jpg)

But I am just asking for help. I am using the Actions/Conditions/Terminators within Visio 2016 for Sharepoint 2010. I have tried googling and it is all over the map with information. Any help would be appreciated. At this point I would be willing to set up a TeamViewer meeting. HA!

I am also having other issues with Sharepoint I have questions on. But that can be saved for later or at another forum.


What I want it to do:

Person out in the field submits a record for suppression. (Remove from the system) Reason has to be a valid reason not just because. They fill out the form, Record #, Last Name, First Initial, and reason for suppression and they hit submit.

I get an email with a task to Approve/Reject Record for suppression.

1. I hit approve, email gets sent to Personnel for suppression (cc creator of list item). Workflow Stops. Terminate.

or

2. I hit reject because their reason is stupid. They get an email saying it was rejected, item is automatically deleted from list, Workflow Stops. Terminate.
Title: Re: Visio 2016 and Sharepoint 2010 - IMAGES CONTAINED
Post by: Paul Herber on January 02, 2018, 09:28:23 AM
You might be better off asking in a Sharepoint forum rather than here ... However, maybe if you post a bit more of the code around your if statements.