message=`‘${nodeName}‘ must be unpinned to execute`;
context.description=`To fetch the data the expression needs, The node ‘${nodeName}’ needs to execute without being pinned. <a>Unpin it</a>`;
context.description=`To fetch the data for the expression, you must unpin the node '${nodeName}' and execute the workflow again.`;
context.descriptionTemplate=`To fetch the data for the expression under '%%PARAMETER%%', you must unpin the node '${nodeName}' and execute the workflow again.`;
}
}
returnnewExpressionError(message,{
runIndex: that.runIndex,
itemIndex: that.itemIndex,
@@ -560,6 +576,7 @@ export class WorkflowDataProxy {
// `Could not resolve as the defined item index is not valid on node '${sourceData.previousNode}'.
throwcreateExpressionError('Can’t get data for expression',{
messageTemplate:`Can’t get data for expression under ‘%%PARAMETER%%’`,
description:`Item points to an item which does not exist`,
causeDetailed:`The pairedItem data points to an item ‘${pairedItem.item}‘ which does not exist on node ‘${sourceData.previousNode}‘ (output node did probably supply a wrong one)`,
});
throwcreateExpressionError(
'Can’t get data for expression',
{
messageTemplate:`Can’t get data for expression under ‘%%PARAMETER%%’`,
description:`Item points to an item which does not exist`,
causeDetailed:`The pairedItem data points to an item ‘${pairedItem.item}‘ which does not exist on node ‘${sourceData.previousNode}‘ (output node did probably supply a wrong one)`,
},
nodeBeforeLast,
);
}
constitemPreviousNode: INodeExecutionData=
@@ -590,11 +616,15 @@ export class WorkflowDataProxy {
if(itemPreviousNode.pairedItem===undefined){
// `Could not resolve, as pairedItem data is missing on node '${sourceData.previousNode}'.`,
throwcreateExpressionError('Can’t get data for expression',{
messageTemplate:`Can’t get data for expression under ‘%%PARAMETER%%’`,
description:`To fetch the data from other nodes that this expression needs, more information is needed from the node ‘${sourceData.previousNode}’`,
causeDetailed:`Missing pairedItem data (node ‘${sourceData.previousNode}’ did probably not supply it)`,
});
throwcreateExpressionError(
'Can’t get data for expression',
{
messageTemplate:`Can’t get data for expression under ‘%%PARAMETER%%’`,
description:`To fetch the data from other nodes that this expression needs, more information is needed from the node ‘${sourceData.previousNode}’`,
causeDetailed:`Missing pairedItem data (node ‘${sourceData.previousNode}’ did probably not supply it)`,
},
sourceData.previousNode,
);
}
if(Array.isArray(itemPreviousNode.pairedItem)){
@@ -647,22 +677,31 @@ export class WorkflowDataProxy {
});
}
// `Could not resolve pairedItem as the defined node input '${itemInput}' does not exist on node '${sourceData.previousNode}'.`
throwcreateExpressionError('Can’t get data for expression',{
messageTemplate:`Can’t get data for expression under ‘%%PARAMETER%%’`,
description:`Item points to a node input which does not exist`,
causeDetailed:`The pairedItem data points to a node input ‘${itemInput}‘ which does not exist on node ‘${sourceData.previousNode}‘ (node did probably supply a wrong one)`,
});
throwcreateExpressionError(
'Can’t get data for expression',
{
messageTemplate:`Can’t get data for expression under ‘%%PARAMETER%%’`,
description:`Item points to a node input which does not exist`,
causeDetailed:`The pairedItem data points to a node input ‘${itemInput}‘ which does not exist on node ‘${sourceData.previousNode}‘ (node did probably supply a wrong one)`,
// `Could not resolve pairedItem as the item with the index '${pairedItem.item}' does not exist on node '${sourceData.previousNode}'.`
throwcreateExpressionError('Can’t get data for expression',{
messageTemplate:`Can’t get data for expression under ‘%%PARAMETER%%’`,
description:`Item points to an item which does not exist`,
causeDetailed:`The pairedItem data points to an item ‘${pairedItem.item}‘ which does not exist on node ‘${sourceData.previousNode}‘ (output node did probably supply a wrong one)`,
});
throwcreateExpressionError(
'Can’t get data for expression',
{
messageTemplate:`Can’t get data for expression under ‘%%PARAMETER%%’`,
description:`Item points to an item which does not exist`,
causeDetailed:`The pairedItem data points to an item ‘${pairedItem.item}‘ which does not exist on node ‘${sourceData.previousNode}‘ (output node did probably supply a wrong one)`,
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.