Hi,
I am trying to write if condition in my webhook.
the formula does not work when i use > <> <>
It works fine when i am using <> <> tag only.
Below are my formulas.
<<IF:[Invoice No.]=ANY(SELECT(Sheet2.1[Invoice No.],AND([Sewing Order ID]=[_ThisRow].[SGM D.O. to Sub Con],[Invoice No.]=[_ThisRow].[Invoice No.])))>>
โIDโ:"<<ANY(
SELECT(Sheet2.1[ID],
AND([Sewing Order ID]=[_ThisRow].[SGM D.O. to Sub Con],
[Invoice No.]=[_ThisRow].[Invoice No.])))>>",
โSubConโ:"<<[Invoice No.].[Supplier/SubCon]>>",
โSewing Order IDโ:"<<[SGM D.O. to Sub Con]>>",
โReceive Item Descriptionโ:"<<[Invoice No.].[Material]>>",
โReceive Item HS Codeโ:"<<[Invoice No.].[HS Code]>>",
โInvoice No.โ:"<<[Invoice No.]>>",
โTotal Receive Quantityโ:"<<SUM(
SELECT(Invoice Details[Quantity],
AND([SGM D.O. to Sub Con]=[_ThisRow].[SGM D.O. to Sub Con],
[Invoice No.]=[_ThisRow].[Invoice No.])))>>",
โTotal Value of Serviceโ:"<<SUM(
SELECT(Invoice Details[Value],
AND([SGM D.O. to Sub Con]=[_ThisRow].[SGM D.O. to Sub Con],
[Invoice No.]=[_ThisRow].[Invoice No.])))>>"
<ELSE:>
โIDโ:"<<UNIQUEID()>>",
โSubConโ:"<<[Invoice No.].[Supplier/SubCon]>>",
โSewing Order IDโ:"<<[SGM D.O. to Sub Con]>>",
โReceive Item Descriptionโ:"<<[Invoice No.].[Material]>>",
โReceive Item HS Codeโ:"<<[Invoice No.].[HS Code]>>",
โInvoice No.โ:"<<[Invoice No.]>>",
โTotal Receive Quantityโ:โ1โ,
โTotal Value of Serviceโ:"<<[Value]>>"
<>
Instead of using < ELSE > use << EndIf >>
User | Count |
---|---|
30 | |
26 | |
26 | |
21 | |
21 |