Quantcast
Channel: Active questions tagged ampscript - Salesforce Stack Exchange
Viewing all articles
Browse latest Browse all 455

AMPscript Sales Cloud Task Creation

$
0
0

I'm trying to create a Sales Cloud task using AMPscript. There's not much detailed documentation out there so I'm trying different API field names and haven't figured it out. Here's my code:

    var @createtask    set @createtask = CreateSalesforceObject('Task', 6,'Priority', 'High','Status', 'Not Started','OwnerId', 'xxxx','WhoId', @ID,'WhatId', 'xxxxx','Subject', 'Task 123'        )

Viewing all articles
Browse latest Browse all 455

Trending Articles