Add type field to Task resource (Salesforce) (#2171)

* added Type field in Task resource of salesforce

*  Improvements to #2110

Co-authored-by: Ketan Somvanshi <ketan.somvanshi@plivo.com>
This commit is contained in:
Ricardo Espinoza
2021-09-05 08:55:53 -04:00
committed by GitHub
parent 96813fcc05
commit 2c561507f7
3 changed files with 48 additions and 1 deletions

View File

@@ -388,6 +388,16 @@ export const taskFields = [
},
description: 'The subject line of the task, such as “Call” or “Send Quote.” Limit: 255 characters.',
},
{
displayName: 'Type',
name: 'type',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getTaskTypes',
},
description: `Represents Type of the task, such as Call or Meeting.`,
},
{
displayName: 'What Id',
name: 'whatId',
@@ -750,6 +760,16 @@ export const taskFields = [
user may have deselected the reminder checkbox in the Salesforce user interface,<br/>
or the reminder has already fired at the time indicated by the value.`,
},
{
displayName: 'Type',
name: 'type',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getTaskTypes',
},
description: `Represents Type of the task, such as Call or Meeting.`,
},
{
displayName: 'What Id',
name: 'whatId',