added-followers-functions

This commit is contained in:
Joel Sanguenza 2022-10-04 18:37:59 +08:00
parent 6a17ab840b
commit 9057d8b2cf
3 changed files with 153 additions and 29 deletions

View file

@ -242,6 +242,46 @@ export const taskDescription: INodeProperties[] = [
],
description: 'Name or ID of the user to whom the task has been assigned. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Followers: Name or ID',
name: 'followers',
type: 'fixedCollection',
default: [],
placeholder: 'Add Person',
typeOptions: {
multipleValues: true,
},
displayOptions: {
show: {
resource: [
'task',
],
operation: [
'update',
'create',
],
},
},
options: [
{
displayName: 'Follower',
name: 'follower',
values: [
{
displayName: 'Followers: Name or ID',
name: 'value',
type: 'options',
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
default: '',
typeOptions: {
loadOptionsMethod: 'getUsers',
},
},
],
},
],
description: 'Name or ID of the user to who follows this task. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
// move & copy task operation
{
displayName: 'Task Group Name or ID',