Hi @sammybridge ,
Could you please share a bit more about your scenario?
Is the "ID" column a LookUp type column in your 'NPI Tasks' Entity? Could you please show more details about the idvar variable that you mentioned?
Further, do you store the IDNew (Primary Key) value of an record in your 'Another Entity' into the idvar variable?
On your side, please make sure you have stored the IDNew (Primary Key) value (GUID value) of an record in your 'Another Entity' into the idvar variable. If the IDNew (Primary Key) value stored in this idvar variable is a string value, please consider modify your formula as below:
UpdateIf(
'NPI Tasks',
Stage = Value(taskstage + 1) && Value(Label9.Text) = 0 && ID.IDNew = GUID(idvar),
{
cr80a_duedate: Today() + 5
}
)
Does the Label9 connect to a field in your 'NPI Tasks' Entity, if true, please replace the Label9.Text formula with actual field name from your 'NPI Tasks' Entity within above formula:
UpdateIf(
'NPI Tasks',
Stage = Value(taskstage + 1) && Value('Actual Field Name') = 0 && ID.IDNew = GUID(idvar),
{
cr80a_duedate: Today() + 5
}
)
In addition, you could consider store the specific record from your 'Another Entity' into this idvar variable using the following formula:
Set(idvar, LookUp('Another Entity', FilteredColumn = "Specific Value"))
then modify your UpdateIf formula as below:
UpdateIf(
'NPI Tasks',
Stage = Value(taskstage + 1) && Value('Actual Field Name') = 0 && ID.IDNew = idvar.IDNew, // or type idvar.cr80a_IDNew
{
cr80a_duedate: Today() + 5
}
)
Please consider take a try with above solution, then check if the issue is solved.
Best regards,