D365: Custom Workflow Activity Input Parameter Type doesn’t Change

Recently, we were working on a custom workflow activity which takes Whole Number as input, process it and returns a String as Output.

After developing it we tested it and it was working fine.

Later, we wanted to change the data type of input parameter to Decimal so that we can take care of fraction as well.

We changed the code accordingly and data type of input parameter in custom workflow activity code and deployed it to CRM. However, the data type of Input Parameter was still Whole Number.

FIX: To fix this issue, we unregistered the workflow activity using Plugin Registration Tool(removed it’s dependency first) and deployed the custom workflow activity again using DEV ToolKit. Now, the data type of input parameter appeared properly.

Hope it helps !!

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.