I currently have a custom workflow that executes a SQL stored procedure against a legacy system. The stored procedure returns 2 values, which I would like to update the calling record with.
I must emphasise that the stored procedure is NOT run against the CRM databases.
Can anyone point me in the right direction, ie tutorial to do this.
*This post is locked for comments
Hi PeteN,
You could return a string type Parameter containing the response you needed
context.OutputParameters["result"] = '{"Response":"Success"}';
[Output("result")]
public OutArgument<string> result { get; set; }
Hi ,
refer below blog on how to return the value from custom workflow.
anythingcrm.blogspot.com/.../crm-2011-workflow-activity-parameter.html
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156