Home > Forum > Plugins > How to Get instance by instance Id in Webcon SDK Plugin

How to Get instance by instance Id in Webcon SDK Plugin
0

I am trying to create Webcon SDK Plugin that will update multiple instances( update fields of different instances ) but I have not figured out how to get instance by a number.
I have list of instance ids.

RunCustomActionParams args,
args.Context.CurrentDocument contains GetFieldValue method but does not contain any method GetInstanceById

MVP

Hi Ahmed,

maybe you are already aware of it but you could also make use of the "Update related workflow instance" action.

https://docs.webcon.com/docs/2024R1/Studio/Action/Workflow/UpdateParentWorkflow/

This action is similar to the "save" action on the form.

This may be an alternative to create a custom SDK, if you don't need to update item lists.

Best regards,
Daniel