when i run tdl that time if condition get correct value after that it can't updated (what I do to update if condition) code is as follow [#Form: Sales Color] Add : Button : WhatsApp On : Form Accept: @@IsSales : CALL : onformaccept [Button: WhatsApp] Option : SalesjayA : $VoucherTypeName="Sales" [!Button: SalesjayA] Key : Alt + W Action : Browse URL : "whatsapp://send?Phone=" + @@mobileno+ +"&text=" + @@Luhariamsg [System: Formula] JKSGST: $$FilterAmtTotal:LedgerEntries:SGSTSKR:$Amount SGSTSKR :$Name:Ledger:$LedgerName Contains $$LocaleString:"SGST" JKCGST:$$FilterAmtTotal:LedgerEntries:CGSTSKR:$Amount CGSTSKR :$Name:Ledger:$LedgerName Contains $$LocaleString:"CGST" JKTAX: @@JKCGST + @@JKSGST IF (JKTAX IS NULL) JKGW:"900" Luhariamsg : @@JKGW [Functionnformaccept] 10 : QUERYBOX : "Send Whatsapp Message" : Yes:No 20 : IF : $$LastResult 30 : CALL : whatsappstring 40 : ENDIF [Function: whatsappstring] 00 : Browse URL : "whatsapp://send?Phone=" + @@mobileno+ +"&text=" + @@Luhariamsg