Post

2 followers Follow
0
Avatar

using the executeCustomAction API

I am trying to trigger a custom action using the API however I keep getting an Internal error.

The custom action is "testnotify" it calls for two variables and is linked to users.

I am sending: {"targetId": "/User/5q3sogy285cbd7ksfz2563o2e3710", "customAction": "testnotify", "values": [ {"text":"My Text", "user": "/User/5q3sogy285cbd7ksfz2563o2e3710"}]}

Does anyone have any ideas?

Josh Boutwell Answered

Official comment

Avatar

values should be in a field value format:
[{"fieldName":"text", "value": "MyText"},..]

Eyal Post
Comment actions Permalink

Please sign in to leave a comment.

2 comments