TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
gioele contin
NA
12
610
Workflow to update item field metadata
Dec 3 2019 6:29 AM
Hi, I'm new to the SP Workflow world.
I'm trying to update metadata field in every new item created in a document library via web service call.
I've developed a workflow like this: https://www.c-sharpcorner.com/article/update-managed-metadata-field-using-sharepoint-designer-2013-workflow/ .
The workflow works fine, the item field is updated in the library page, but than the WF become suspended. I found the error is in the web service call (because after that the WF should send me an Email and it doesn't happen).
Looking at the WF status, this error message appears:
An unhandled exception occurred during the execution of the workflow instance. Exception details: System.InvalidCastException:
The value 'd/results(0)/Family' cannot be read as type '
String
'
. at Microsoft.Activities.GetDynamicValueProperty`1.CheckedRead(String propertyName, DynamicItem value) at Microsoft.Activities.GetDynamicValueProperty`1.Execute(CodeActivityContext context) at System.Activities.CodeActivity`1.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation) Exception from activity GetDynamicValueProperty<String> Sequence DynamicActivity<String> FormatString Stage 1 Sequence Flowchart Sequence Autotag HOT.WorkflowXaml_ffd1ba7a_d9cf_47e9_b304_4ea16e106f4b
Where "Family" is my metadata field (single term managed metadata).
So I don't know why it's suspended, I followed precisely all the steps...
Any answers or tips?
Thank you
GC
Reply
Answers (
1
)
Bidirectional Cross-filtering in Power BI
add Serial No in front of ListView Webpart in Sharepoint