Hi,
I'm trying to implement a checklist system. I created a custom list "TaskGroups". Basically it has a title, date, assigned user, all the tasks in the list (this is a multi select lookup field) and I want it to have a field that shows what percentage of the tasks are complete. Nothing OOB (never is) jumps out as helpful for the last field so I've created a SPD workflow to calculate the completion percentage whenever the taskgroup changes. I was trying to achieve something like:
1. Get total count of items in the multi select lookup
2. get total count of items in the multi select lookup that are complete.
3. set taskgroup complete percentage to #2/#1
I thought I'd foreach through the tasks but I cant figure out how to get them into a collection.
Then I thought I'll just get the string and extract the items by parsing it, but I couldn't figure out how to do this declaratively.
Then I tried to create a VS 2015 workflow.
A. Its also declaritive only (I could do any of this in 4 seconds if I could just code it
B looked into REST queries but I couldnt figure out how to make these
C Back to the Parsing, but I couldnt figure this out either so I created a custom action / activity.
When I tried this, it couldnt deploy when I added a strings.replace() function to an assignment statement
Looked into extending the trusted surface, etc but ran into dead end because the MSDN documentation is incomplete (https://msdn.microsoft.com/library/azure/jj193517%28v=azure.10%29.aspx?f=255&MSPPError=-2147217396#NotExistJustToMakeTheAElementVisible)
I feel like I'm at the store, asking help finding something that should be write in front of me. Is there some inherant method in tasks to let me do this? Is there any other solutions in my descent into "custom" madness?
Its a tiny deployment on only an intranet, SP is so secure I cant use it :(
J. Duke Rogers Communicore Technologies & Triangle Forensics