Unable to Save or Published Powershell activity


Description

User unable to Save or Published activity created via "Activity Designer Activities". After click on "Save" (or "Publish") button, the bottom left of the screen show "Uploading" with percentage. After a while, the screen went blank.


10-20 seconds later, user will get redirect to following page.


Cause

"Sample Payload" field (sample_payloads) size is too huge. The field is String type and can only cater max length of 65,000.

Resolution

Edit the "Sample Payload" field and keep "{}" only.



Additional Information

Enhancement request FTASK38601 submitted to request for improve the sample payload