Import Workflow - Error reading Reports
I have imported a workflow from a development site. The workflow generates a list of reports at the end (a notification list workflow) When I point the workflow to view the new site's REST endpoint (as an Arguement) it errors, with the following message "Unhandled exception: 'The given key was not present in the dictionary.' in activity '1.611: Assign'. The given key was not present in the dictionary."
Once I change the REST url back to the Dev Site it works fine. Any Thoughts?
0
-
Hi Chris,
If you search for 1.611 and find the 'Assign' activity, does the right side of the 'Assign' reference a particular field name? It sounds like the field it is referencing is on the Dev site and not the new site.
Regards,
Wayne0 -
Thanks Wayne,
That's what's confusing me/us about this. I have had to change the REST endpoint many times when importing or using someone else's workflow. From what I can tell everything is point to where it should. It appears to me that it's looking for a specific list of Reports on the Dev Site and when changing it over to look at the new site it's getting confused.
This is the right side of the Assign: CType(jsonResponseObject.GetValue("reports"),object())0 -
I have an update on this. When we try to access the "Reports" Rest Endpoint (on the layer) in manager on the Dev Site it goes straight there. When we try to access the "Reports" Rest Endpoint in manager on the new site we have to sign in as it gives us an errer saying the current user cannot access the desired resource. It looks like there is a permissions issue. Saying that all the permissions are the same. 0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
3 Kommentare