Problem solved by calling:
document = document.GetDocumentFromSelfRelation();
Before posting the annotation.
I want to add annotation to a document from another application using .NET API, I used the code from this page:
I get this error:
ArgumentException: The specified link is not found. Make sure that you are using the complete resource.(You can get the complete resource by getting it from the SelfRelation)
I see that some resource of the document are null including AnnotationRelationLink, how can I get the complete resource?
Apparently this is a bug in Workflow Manager test feature, workflow works fine with real data.
When I assign a index field value of type Date to a Workflow variable, the result value is incorrect, for example:
index filed value = 11/15/2020
Workflow global variable = 01/16/0001
Note that date format here is MM/dd/yyyy, I tried changing the date format but still the results is the same.
What could be the problem here?