Problem UpdateProcessInstanceData c#

Hello,
I am developing a small utility in C # which allows us to update the DATA in relation to a request.
So I use RuntimeService.
I managed to read the process list, the request list and the request data.
However, I cannot update the request data. I’m using UpdateProcessInstanceData
I give you my code so that you can give me your opinion.

On the click of the button, I create my xml file with the value to modify and I get the idProcess.
1
I run this function

2

I tried this method
3

4

And I tried this one. The same error appears.

6
7

Is this a problem when creating my xml ?? Here’s how it is!


I really don’t see where the error can come from !!

Hi @DUBARRY,

Are you able to connect to the webservice page?
http://[yousite]/wfgen/ws/processesruntime.asmx

If so, does is work when you try your query directly in the webservice?
http://[yoursite]/wfgen/ws/processesruntime.asmx?op=UpdateProcessInstanceData

Regards,
Eddy.

Hello,
Thank you for your return but I had already looked at these links.
I can’t even get this command to work through this interface.

In workflowcontext I put this value
11

I do not know what to do, I looked in the doc and I do not have the impression of false data. Please help me !

Something seems not setup properly.

Go to the server that hosts the application.
Open the Event Viewer application then navigate to Windows Logs -> Application.

500 errors usually get logged here and you can see more details regarding the cause of this issue.

I have no error message on the server. I really don’t see how to fix my problem.
Do you have any other solution for my problem ??

Best option is to open a ticket on the support helpdesk site so that the WorkflowGen team can investigate your issue.