SCTASK auto closer logic in flow designer

Barathk
Tera Contributor

Hi All,
As per my requirement i have created 3 SCTASK and in else condition I am creating 2 SCTASK , for this both condition I apply the auto SCTASK closer logic .
once the SCTASK created based on created date the all sctask should be auto close in 7 days form creation.

here I am attaching the flow snap for reference , can any one help for the close logic.

Thanks,

Barath