Lunch and Learn 11/18/2024

0:00 Introduction


03:48 I would like to input an array of objects and output the number of occurrences for each unique value for a field within the object. Example:



Input:

[


{


ID: 005,


Type: AO


},


{


ID: 010,


Type: H3


},


{


ID: 005,


Type: E3


}


]



Output:


[


{


ID: 005,


Count: 2


},


{


ID: 010,


Count: 1


}


]



Additionally, I’d like to find the max count. In the example above ID: 005 has the max Count.


19:22 can you Automated unit testing once passed push to main repository or dev. and can you show branching in decisions if it exist.


32:38 I am working on a project where I am trying to use Decisions to read raw data into a pre-set Data Type Database. I used the create data step to create two mock data entries, and overall the form looks to be doing to the brunt of what I would like it to do. However, our goal is to pass data in from Nanonets automatically, and I am still having trouble with that portion. The data is set to pass through via API call to a given input in my flow. I hopped on the training call and got assistance from Gregory on using the session ID for testing purposes as well as the show popup step, but as of now for whatever reason the provided URL does not appear to work in the python code from the Nanonets side. Ultimately I will need to use the Guest option, and he also provided me with the documentation to support. I am not sure what may be wrong with the code; it says that it is passing successfully on the Nanonets side but it does not seem to have any presence on Decisions.

Sign In or Register to comment.