Deluge Custom Function - Product_Details wrong data type when parsing back to Purchase Order
Please note I'm not a deluge expert, but I have attempted to tweak a custom function but seem to be having issues with the last operation. Essential the function should do the following: Get the Quote Details Iterate through the Quote Product Details
Issues with "Connections" panel
Hello, I have summarized a couple of issues that i think should be fixed with the connections panel (in Zoho Books, Zoho Inventory, etc.). 1. Please don't translate to my browser language. It is completely redundant and and makes it very hard to understand
Syntax for updating a record "stage" that is in a blueprint
I'm writing a custom function that will update a record's "stage" based on an change to a related parent record. The child records are all active in a predefined Blueprint. When I run the custom function to update the "stage" of the child record, nothing happens. For testing, I disabled the Blueprint on the child records, ran the function, and the "stage" field updated as expected. It seems the Blueprint is preventing my custom function from progressing my child records through the Blueprint stages/states.
read compressed file in GZ format, Ex. impression-day-2019-01-22.json.gz
We have a file upload on S3 bucket in with .JSON.GZ extension. We are trying to write a script to read that file, unzip that file and then upload it to ZOHO Workdrive. Code is below: ========================================================== zip = invokeUrl
Support Scope in Client Credential grant type
Hello, As Scopes are supported by this grant type, It's useful to have this option (and we need it) in the Create Service form like Authorization Code grant type Thanks
Function error "HTTP Status 400 – Bad Request"
I have a function in a workflow that trigger when lead is created, the function is working fine for more than 2 years but recently we're having this issue were it fails and the reason for failure is HTTP Status 400 – Bad Request. However when I execute
Can't zoho.ai.parsePhoneNumber be savvy enough to extrapolate the country from the phone number's country code?
Ok. So one of my Deluge scripts involves extrapolating the country name from the country code in the phone number, for which I was going to just create some sort of lookup table. But... then I came across the zoho.ai.parsePhoneNumber function, and initially
A peek into Deluge's file functions
Hello everyone, Recognizing the importance of files in Zoho products, Deluge implements FILE as a unique type of data. It also comes with a set of built-in functions that operate on FILE data type to identify the properties of files, zip or unzip files, and more. In this post, we will cover Deluge file functions that let you work with your digital documents using Deluge. Files in Deluge Files in Deluge must be fetched from the web or cloud service. It doesn't operate on offline files. The following
Change Date's Language
Hello! I'm usign this function to change the format of the date. This works fantastic. Is there any way I can change the language of it? I need to translate it in Spanish since im always receiving it in English. fecha_apertura.toString("dd-MMM-yyyy")
How to deal with pagination?
Hello guys, I am stuck in a problem with pagination. I am building an app that retrieves all the items from Inventory and we have more than 200 items, so the invokeURL has pagination. According the API, the field has_more_pages indicates if there are
Merge and Send
I have a custom function that uses zoho.writer.mergeAndSend it has been working for months and in the past few days it has stopped working is there an issue on the Zoho side that may have caused this? I have tried revoke and reconnecting the connection,
How to escape characters in ${!Leads.First_Name}
I want to use this string in a call to replaceAll() replaceAll( ${!Leads.First_Name}, "some text"); How to escape the necessary characters?
In 'zohoapis.com/crm/v4' a space character matters. FYI;
The delimiter for the list of fields to return is a comma ",'. However, if there is a space between the comma and the the next field name, the field name is excluded from the result set I did not test this with earlier version of the api.
Where can I find API documentation to get file attachments from custom module?
Where can I find API documentation to get file attachments from custom module?
Why can't I add an event to my calendar in Zoho Creator/Deluge?
I am trying to build a script using Deluge in Zoho Creator which will create a calendar event in Zoho Calendar when a new form is submitted or an existing form is updated. I am using the Zoho Calendar connection with the following code: response = zoho.calendar.createEvent("<calendar-uid>",
Deluge in Zoho Services #4: Zoho Sheet
Hello everyone, Greetings from Deluge! It's been a while since we connected, but now we're back in action, continuing our series of posts on Zoho services that support Deluge. We hope you found the previous post in this series useful. In today's post,
Search in Zoho Desk contacts by Boolean custom field - using deluge
Hello, I am trying to search for contacts that cf_sync is false here is the script: contacts = zoho.desk.searchRecords(orgid,"contacts",{"customField1":"cf_sync:false"},0,100); info contacts; but the output is: {"errorCode":"UNPROCESSABLE_ENTITY","message":"The
Creator + Zoho Sign
Hi All, First off, thank you for everyone's help so far. I am trying to accomplish the following in Zoho Creator: Recall Document & Remind Signer. Both of these functions are not available via deluge so I am trying to use the Zoho Sign API. I believe
How to get data from response?
In deluge I used a simple statement to get a Zoho Sign Document response resp = zoho.sign.GetDocumentByID(XXXXXXX); info resp; I get a response in this format { "code": 0, "requests": { "request_status": "completed", "notes": "", "attachments": [ ], "reminder_period":
Writer Deluge Variable
I'm building a custom function for zoho writer and am a bit stumped with the initial variable. Once I have my crm record id I'm good, but how do I define a variable for that id that triggers the custom function? Whenever I leave the id variable in my
How to transform file Content-Type from Multipart/form-data to application/pdf ?
Hi, I have a big issue with file content-type during uploading the files into Messagebird server. After successful uploaded into Messagebird server, but the file content-type always in Multipart/form data. But the requirement from Messagebird the Content-Type
How to sort result set from getRecords
Hi, I want to sort the result by the "Reporting_To". If someone could assist. ----------------------------------------------------------------------------------------------------------------------------- listVar = list(); //Create map to hold search
How can I set the task layout when creating a project with Deluge
Hi, I am automatically creating a new project in Zoho projects with Deluge. I cannot find any documentation on how to set the task layout, which needs to be set at the project level upon creation, as far as I can tell. I can see the response when the
zoho.currenttime is not working properly
Namaskaram Zoho Books team, we wrote a script to update an date fields based on current time. For that, we using the deluge default function (zoho.currenttime) in the script. It is not taking the current time of login user, literally its taking current time of the script owner (user who wrote the script) not the current login user. Crafted with ❤️ Zoho Gurus | Zoho Books Practice Team @ CubeYogi Zoho Authorised Partner | 8+ Yrs | 200+ Projects | 100+ Customers
getting UnAuthenticated Connection error when executing custom functions from employee account
Greetings i'm testing a custom connection between zoho books and expenses, i created the connection from zoho books side and enabled the "use logged in user credentials" option. the custom function uses invokeUrl to add entries to zoho expense. when i
Sort a list of key-values elements
Dear community, I have the following question. I have list called list_values: list_values = {{"name":'Carl',"age":6},{"name":'Adam',"age":8},{"name":'Bob',"age":9}}; I want to reorder the list values based on the name key of each key-value element, the
No records found
I want to track all employees who do not have records for a specific month. response = zoho.people.getRecords("Legal_Rest_Monthly_France",0,1,searchList); When the search criteria is null it returns an empty map. I understood that I could use the "isEmpty"
Error using zoho.sheet.createRecords: There was a problem while trying to integrate with DRE
In Deluge, when I try to use zoho.sheet.createRecords to add to more than 1000 rows, I get this error: There was a problem while trying to integrate with DRE Only some of the data is added to the sheet. The number of rows added varies each time, but it
JSON Parse Issue
I am trying to parse response like so info response.get('data').get('Store'); and get the following error: Failed to execute function Argument type mismatch - Found 'DATE-TIME' but Expected '[BIGINT]' for the function 'get' Line Number:16 however, info
Upload workdrive file to sharepoint
Hello, I'm trying to upload a specific file from workdrive to Microsoft Sharepoint when a workflow is triggered. I've tried using flow to accomplish this but it can only upload .txt files (The file I need is a .docx). Any ideas would be great. Thank
Need Help Converting CURL to Deluge
Hi, I am having an issue with converting a CURL command into Deluge. The CURL Command is formatted as follows (token is a bogus string): curl https://{subdomain}.zendesk.com/api/v2/users.json \ -H "Authorization: Bearer 52d7ef4ee01e2c2c75bff572f957cd4f12d6225eee07ea2f01d01a"
Deluge - convert datetime from api response to local time zone
Hello, I use the following testing code: I would like to know why the result is "21-Jun-2016 04:16:14"... Why is the hour = 04? The result I expected would be = 18:16:14 (UTC +2) ------------------------------ Where do I actually get this string: "2016-06-21T13:16:14.000Z"
Apparent time-out of Deluge code
See video explanation here: https://workdrive.zohoexternal.com/external/e9a38e2c5bacfdfd9f23fcdb899b1e2cbebfa1431f43b95653afae31a415b0d1
How to process a PDF to the Writer API?
Hello :) Does anyone have experience in processing an invoked PDF to the Zoho Writer API? In Deluge I requested a PDF estimate from Zoho Books downloadedEstimate = invokeurl [ url :"https://books.zoho.eu/api/v3/estimates/pdf?organization_id={ORG-ID}&estimate_ids={ESTIMATE-ID}"
My Love / Hate relationship with Deluge
Ok... so I should first say that I very much have an appreciation for all of the awesome things that I can do with Deluge. It really can be quite powerful in a variety of ways, and allows for all kinds of customization that otherwise would not be possible. Admittedly however, I've had days (and sometimes late nights that turn into early mornings) that I end up feeling like my head is going to explode when coding in Deluge. Now let me emphasize something here... Deluge is a terrific language...
Auto-sync email attachments to tickets - Problem with ANSI encoding
Hello, I discovered the following Zoho tutorial: https://help.zoho.com/portal/en/community/topic/automation-3-auto-sync-email-attachments-to-tickets I have created a function based on the post, which also works BUT there is a problem with the text encoding
Confirming a Sales Order
Hi, A Sales Order is created in Inventory by a Woocommerce plugin (Wordpress) . The SO is in draft, I'm currently using a zoho flow and a deluge script to update some fields and want to set the SO as confirmed. There is no approval blueprint. The SO is
How to correctly use workdrive integration to upload file from file_upload field?
I have no idea if this is supposed to go into WorkDrive or Creator forums or Deluge but I'm hoping someone can help me out either way. So according to the information on the workdrive integration with creator to upload file (https://www.zoho.com/deluge/help/workdrive/upload-file.html)
How do I create a subfolder in a team folder using deluge?
Hello--working on an app in creator creating a database of different records associated with different organizations. I would like to create a folder for each organization within a team folder I've created specifically for this app, then make another
Assigning Teams to Projects from CRM Function Challenge
We have a function in our CRM that creates a Zoho Project (from a Project Template) when a particular field is updated. I'd like to try and assign teams to the project at that time but I can't seem to make it work. Is this possible and if so can someone
Next Page