It is my intention to create a second task with the "error" items.
here is the update function:
With(
{
desc: Split(
DescriptionTextInput.Value,
Char(10)
),
bool: StartsWith(
DescriptionTextInput.Value,
"Record"
)
},
ForAll(
Sequence(
CountRows(desc) - bool,
If(
bool,
2,
1
)
),
Planner.UpdateTaskDetailsV2(
NewTask.id,
{
description: CommentsTextInput.Value,
checklist: {
id: ThisRecord.Value,
isChecked: false,
title: Index(
desc,
ThisRecord.Value
).Value
}
}
)
)
),
If Planner.CreateTaskV4 errors out due to "MaximumChecklistItemsOnTask", how would I catch this and create the new task (and update the 'errortask')