I'm trying to set up a Automation rule where I can add users to a user-group.
First I fetch the Group ID based on the name of the usergroup.
Next I want to do a Post with the Group ID stored in a varbiable as a Smart-value in the Web Request url.
I've also added the AccountID of the user stored in a variable into the Body.
I'm not exactly sure what I'm missing here. Does anyone got a idea?
Smart values are name, spacing, and case-sensitive...And I note your created variable name groupID does not match its use in the Send Web Request action, where it is groupId. First try changing them to match.
If that does not help...sometimes I have observed there are parsing-order problems with the URL for the Send Web Request action. That is, it does not fully evaluate before the URL is captured for use. The workaround for that is to create the complete URL in another created variable, and then use that new variable in the Send Web Request action.
Kind regards,
Bill
@Bill Sheboya bit late, but still thank you for the reply.
Your observation helped me get the errors out of the syntax.
I've know managed to get the Automation to work.
With kind regards,
Brolin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.