Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Dropping Data from a Temp Table

Avatar

Avatar
Validate 1
Level 1
Tarquinius
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
Tarquinius
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
Tarquinius
Level 1

29-01-2021

Hi,

 

I have a continual delivery workflow that is looking for an External signal to activate.

As part of the workflow, I pull in a List for lookups against c1.4 million rows. Not ideal but best way of circumventing an issue. 

The workflow runs and sends the emails.

However the list never seems to get dropped but holds the data in a temp table (temp:readGroup). Is there anyway of dropping this data via a JS node once the email has sent? It's putting strain on the server since the workflow never really 'ends' continually eating memory when not needed etc.

Hope that makes sense!

View Entire Topic

Avatar

Avatar
Validate 1
Level 1
Tarquinius
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
Tarquinius
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
Tarquinius
Level 1

29-01-2021

Thanks for the response @adithyacs86 

Sorry. I may not have explained myself very well though! 🙂

 

The list is reused over and over each time the workflow is triggered. The problem is when the data is loaded into a temp table within the workflow, it's not getting dropped once the workflow has completed (probably because the workflow has a continual delivery and therefore never truly 'ends'). I don't want to purge the list - just the temp list load from the workflow (temp:readGroup by the looks of it).

 

I was hoping there might be a bit of JS code I could use in a node to simply purge the data in the table (temp:readGroup).

 

Thanks