I'm starting to get really good at the scripting thing and am really having fun with this platform. If you aren't paying for the upgraded plan to be able to use scripting, you should consider it. There are so many things that I have been able to fix or create that I couldn't with the general platform for general tasks.
As I am building up a large number of automations, I sometimes have difficulty remembering what I may have done 2 weeks ago, etc. I have a paid ChatGPT account and asked it to document my code and to put it into dokuwiki format so I could host it on our wiki page for other team members to help debug, etc.
It's pretty incredible how well it does it. You can see the output here: https://wiki.chattlab.org/code_breakdown for one of the sample cases.
In another case, I asked it to look at the code and make a text based flowchart of it, and it gave me the block below. It's such a great tool to help document code and find issues.
Start
|
v
Load Inputs (Rec_ID, Meeting_ID) and Initialize Variables
|
v
Load Records from the Table
|
v
Iterate Through Records
|
+--> Does groupField match Meeting_ID?
| |
| +--> No --> Skip Record
|
+--> Yes
|
v
Parse autoNumberField and Compare with maxautoNumberValue
|
v
Update maxautoNumberValue if Current Value is Greater
|
v
Increment maxautoNumberValue by 1
|
v
Update Record with ID Rec_ID
|
v
End