{"artifactJsonType":"APPLICATION","clientSchemaVersion":1.0,"serverSchemaVersion":11.0,"exportedApplication":{"name":"setIntervalApp","isPublic":false,"pages":[{"id":"Page1","isDefault":true}],"publishedPages":[{"id":"Page1","isDefault":true}],"viewMode":false,"appIsExample":false,"unreadCommentThreads":0.0,"unpublishedApplicationDetail":{"appPositioning":{"type":"FIXED"},"navigationSetting":{},"themeSetting":{"sizing":1.0,"density":1.0,"appMaxWidth":"LARGE"}},"publishedApplicationDetail":{"appPositioning":{"type":"FIXED"},"navigationSetting":{},"themeSetting":{"sizing":1.0,"density":1.0,"appMaxWidth":"LARGE"}},"color":"#C7F3E3","icon":"pie-chart","slug":"setintervalapp","unpublishedCustomJSLibs":[],"publishedCustomJSLibs":[],"evaluationVersion":2.0,"applicationVersion":2.0,"collapseInvisibleWidgets":true,"isManualUpdate":false,"deleted":false},"datasourceList":[],"customJSLibList":[],"pageList":[{"unpublishedPage":{"name":"Page1","slug":"page1","layouts":[{"viewMode":false,"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":4896.0,"snapColumns":64.0,"detachFromLayout":true,"widgetId":"0","topRow":0.0,"bottomRow":470.0,"containerStyle":"none","snapRows":124.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"version":90.0,"minHeight":1292.0,"dynamicTriggerPathList":[],"parentColumnSpace":1.0,"dynamicBindingPathList":[],"leftColumn":0.0,"children":[{"resetFormOnClick":false,"needsErrorInfo":false,"boxShadow":"none","mobileBottomRow":13.0,"widgetName":"Submit1_1","onClick":"{{setInterval(() => { Api1.run();}, 5000, 'myInterval');}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","dynamicPropertyPathList":[{"key":"onClick"}],"topRow":13.0,"bottomRow":17.0,"parentRowSpace":10.0,"type":"BUTTON_WIDGET","mobileRightColumn":26.0,"animateLoading":true,"parentColumnSpace":13.0625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":9.0,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"text":"Submit1_1","isDisabled":false,"key":"nralwhect9","rightColumn":25.0,"isDefaultClickDisabled":true,"widgetId":"30pcv6i9zq","minWidth":120.0,"isVisible":true,"recaptchaType":"V3","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":9.0,"responsiveBehavior":"hug","disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":10.0,"buttonVariant":"PRIMARY","placement":"CENTER"},{"resetFormOnClick":false,"needsErrorInfo":false,"boxShadow":"none","mobileBottomRow":24.0,"widgetName":"Submit1_2","onClick":"{{JSObject1.myFun1()}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","dynamicPropertyPathList":[{"key":"onClick"}],"topRow":13.0,"bottomRow":17.0,"parentRowSpace":10.0,"type":"BUTTON_WIDGET","mobileRightColumn":25.0,"animateLoading":true,"parentColumnSpace":13.0625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":28.0,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"text":"Submit1_2","isDisabled":false,"key":"nralwhect9","rightColumn":44.0,"isDefaultClickDisabled":true,"widgetId":"5dmjgaqauo","minWidth":120.0,"isVisible":true,"recaptchaType":"V3","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":20.0,"responsiveBehavior":"hug","disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":9.0,"buttonVariant":"PRIMARY","placement":"CENTER"},{"resetFormOnClick":false,"needsErrorInfo":false,"boxShadow":"none","mobileBottomRow":32.0,"widgetName":"Submit2_1","onClick":"{{setInterval(() => {\n Api1.run();\n}, 5000, 'interval1');\nsetInterval(() => {\n Api2.run();\n}, 5000, 'interval2');}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","dynamicPropertyPathList":[{"key":"onClick"}],"topRow":22.0,"bottomRow":26.0,"parentRowSpace":10.0,"type":"BUTTON_WIDGET","mobileRightColumn":25.0,"animateLoading":true,"parentColumnSpace":13.0625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":9.0,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"text":"Submit2_1","isDisabled":false,"key":"nralwhect9","rightColumn":25.0,"isDefaultClickDisabled":true,"widgetId":"slmn11a8b5","minWidth":120.0,"isVisible":true,"recaptchaType":"V3","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":28.0,"responsiveBehavior":"hug","disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":9.0,"buttonVariant":"PRIMARY","placement":"CENTER"},{"resetFormOnClick":false,"needsErrorInfo":false,"boxShadow":"none","mobileBottomRow":32.0,"widgetName":"Submit3_1","onClick":"setInterval(() => {\n\t\t\t\ttestInvalid();\n\t\t}, 2000, \"testingFun\");","buttonColor":"{{appsmith.theme.colors.primaryColor}}","dynamicPropertyPathList":[{"key":"onClick"}],"topRow":30.0,"bottomRow":34.0,"parentRowSpace":10.0,"type":"BUTTON_WIDGET","mobileRightColumn":25.0,"animateLoading":true,"parentColumnSpace":13.0625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":9.0,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"text":"Submit3_1","isDisabled":false,"key":"nralwhect9","rightColumn":25.0,"isDefaultClickDisabled":true,"widgetId":"t0fen8486b","minWidth":120.0,"isVisible":true,"recaptchaType":"V3","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":28.0,"responsiveBehavior":"hug","disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":9.0,"buttonVariant":"PRIMARY","placement":"CENTER"},{"resetFormOnClick":false,"needsErrorInfo":false,"boxShadow":"none","mobileBottomRow":32.0,"widgetName":"Submit4_1","onClick":"{{setInterval(() => {\n Api1.run();\n}, 0, 'interval4');}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","dynamicPropertyPathList":[],"topRow":37.0,"bottomRow":41.0,"parentRowSpace":10.0,"type":"BUTTON_WIDGET","mobileRightColumn":25.0,"animateLoading":true,"parentColumnSpace":13.0625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":9.0,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"text":"Submit4_1","isDisabled":false,"key":"nralwhect9","rightColumn":25.0,"isDefaultClickDisabled":true,"widgetId":"80kl08cwxg","minWidth":120.0,"isVisible":true,"recaptchaType":"V3","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":28.0,"responsiveBehavior":"hug","disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":9.0,"buttonVariant":"PRIMARY","placement":"CENTER"},{"resetFormOnClick":false,"needsErrorInfo":false,"boxShadow":"none","mobileBottomRow":32.0,"widgetName":"Submit3_2","onClick":"{{JSObject3.myFun1()}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","dynamicPropertyPathList":[{"key":"onClick"}],"topRow":30.0,"bottomRow":34.0,"parentRowSpace":10.0,"type":"BUTTON_WIDGET","mobileRightColumn":25.0,"animateLoading":true,"parentColumnSpace":13.0625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":28.0,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"text":"Submit3_2","isDisabled":false,"key":"nralwhect9","rightColumn":44.0,"isDefaultClickDisabled":true,"widgetId":"kd9ao1c9de","minWidth":120.0,"isVisible":true,"recaptchaType":"V3","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":28.0,"responsiveBehavior":"hug","disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":9.0,"buttonVariant":"PRIMARY","placement":"CENTER"},{"resetFormOnClick":false,"needsErrorInfo":false,"boxShadow":"none","mobileBottomRow":32.0,"widgetName":"Submit4_2","onClick":"{{JSObject4.myFun1()}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","dynamicPropertyPathList":[{"key":"onClick"}],"topRow":37.0,"bottomRow":41.0,"parentRowSpace":10.0,"type":"BUTTON_WIDGET","mobileRightColumn":25.0,"animateLoading":true,"parentColumnSpace":13.0625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":28.0,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"text":"Submit4_2","isDisabled":false,"key":"nralwhect9","rightColumn":44.0,"isDefaultClickDisabled":true,"widgetId":"xi8n1covr5","minWidth":120.0,"isVisible":true,"recaptchaType":"V3","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":28.0,"responsiveBehavior":"hug","disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":9.0,"buttonVariant":"PRIMARY","placement":"CENTER"},{"resetFormOnClick":false,"needsErrorInfo":false,"boxShadow":"none","mobileBottomRow":40.0,"widgetName":"Submit2_2","onClick":"{{JSObject2.myFun1()}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","dynamicPropertyPathList":[{"key":"onClick"}],"topRow":22.0,"bottomRow":26.0,"parentRowSpace":10.0,"type":"BUTTON_WIDGET","mobileRightColumn":25.0,"animateLoading":true,"parentColumnSpace":13.0625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":28.0,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"text":"Submit2_2","isDisabled":false,"key":"nralwhect9","rightColumn":44.0,"isDefaultClickDisabled":true,"widgetId":"xdg1oyxpkc","minWidth":120.0,"isVisible":true,"recaptchaType":"V3","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":36.0,"responsiveBehavior":"hug","disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":9.0,"buttonVariant":"PRIMARY","placement":"CENTER"},{"resetFormOnClick":false,"needsErrorInfo":false,"boxShadow":"none","mobileBottomRow":47.0,"widgetName":"Submit5_1","onClick":"{{setInterval(() => { Api1.run();}, 5000, 'myInterval');}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","dynamicPropertyPathList":[{"key":"onClick"}],"topRow":43.0,"bottomRow":47.0,"parentRowSpace":10.0,"type":"BUTTON_WIDGET","mobileRightColumn":25.0,"animateLoading":true,"parentColumnSpace":13.0625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":9.0,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"text":"Submit5_1","isDisabled":false,"key":"ryj6cfbny5","rightColumn":25.0,"isDefaultClickDisabled":true,"widgetId":"33qn3gqqpx","minWidth":120.0,"isVisible":true,"recaptchaType":"V3","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":43.0,"responsiveBehavior":"hug","disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":9.0,"buttonVariant":"PRIMARY","placement":"CENTER"},{"resetFormOnClick":false,"needsErrorInfo":false,"boxShadow":"none","mobileBottomRow":47.0,"widgetName":"Submit5_2","onClick":"{{JSObject5.myFun1()}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","dynamicPropertyPathList":[{"key":"onClick"}],"topRow":43.0,"bottomRow":47.0,"parentRowSpace":10.0,"type":"BUTTON_WIDGET","mobileRightColumn":25.0,"animateLoading":true,"parentColumnSpace":13.0625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":29.0,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"text":"Submit5_2","isDisabled":false,"key":"ryj6cfbny5","rightColumn":45.0,"isDefaultClickDisabled":true,"widgetId":"yr9ol12udw","minWidth":120.0,"isVisible":true,"recaptchaType":"V3","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":43.0,"responsiveBehavior":"hug","disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":9.0,"buttonVariant":"PRIMARY","placement":"CENTER"}]},"layoutOnLoadActions":[],"layoutOnLoadActionErrors":[],"validOnPageLoadActions":true,"id":"Page1","deleted":false,"policies":[],"userPermissions":[]}],"userPermissions":[],"policyMap":{}},"publishedPage":{"name":"Page1","slug":"page1","layouts":[{"viewMode":false,"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1224.0,"snapColumns":16.0,"detachFromLayout":true,"widgetId":"0","topRow":0.0,"bottomRow":1250.0,"containerStyle":"none","snapRows":33.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"version":4.0,"minHeight":1292.0,"dynamicTriggerPathList":[],"parentColumnSpace":1.0,"dynamicBindingPathList":[],"leftColumn":0.0,"children":[]},"validOnPageLoadActions":true,"id":"Page1","deleted":false,"policies":[],"userPermissions":[]}],"userPermissions":[],"policyMap":{}},"gitSyncId":"674bfbf855991c29a2fddc76_7ff887c3-3c71-45d9-bd59-caada11bfa82","deleted":false}],"actionList":[{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Api1","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":"http://host.docker.internal:5001"},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policyMap":{},"policies":[],"userPermissions":[]},"pageId":"Page1","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"/v1/mock-api","headers":[],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[{"key":"records","value":"10"}],"body":"","bodyFormData":[],"httpMethod":"GET","httpVersion":"HTTP11","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":[],"userSetOnLoad":false,"confirmBeforeExecute":false,"policyMap":{},"userPermissions":[],"createdAt":"2024-12-01T06:04:05Z"},"publishedAction":{"datasource":{"messages":[],"isAutoGenerated":false,"deleted":false,"policyMap":{},"policies":[],"userPermissions":[]},"messages":[],"userSetOnLoad":false,"confirmBeforeExecute":false,"policyMap":{},"userPermissions":[],"createdAt":"2024-12-01T06:04:05Z"},"gitSyncId":"674bfbf855991c29a2fddc76_136ab971-6f56-4e60-9907-cab28b5a1a34","id":"Page1_Api1","deleted":false},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Api2","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":"http://host.docker.internal:5001"},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policyMap":{},"policies":[],"userPermissions":[]},"pageId":"Page1","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"/v1/genderize_agify","headers":[],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[{"key":"name","value":"sagar"}],"body":"","bodyFormData":[],"httpMethod":"GET","httpVersion":"HTTP11","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":[],"userSetOnLoad":false,"confirmBeforeExecute":false,"policyMap":{},"userPermissions":[],"createdAt":"2024-12-01T06:04:36Z"},"publishedAction":{"datasource":{"messages":[],"isAutoGenerated":false,"deleted":false,"policyMap":{},"policies":[],"userPermissions":[]},"messages":[],"userSetOnLoad":false,"confirmBeforeExecute":false,"policyMap":{},"userPermissions":[],"createdAt":"2024-12-01T06:04:36Z"},"gitSyncId":"674bfbf855991c29a2fddc76_e373d147-f457-4785-bdb1-5ba234535435","id":"Page1_Api2","deleted":false},{"pluginType":"JS","pluginId":"js-plugin","unpublishedAction":{"name":"myFun1","fullyQualifiedName":"JSObject4.myFun1","datasource":{"name":"UNUSED_DATASOURCE","pluginId":"js-plugin","messages":[],"isAutoGenerated":false,"deleted":false,"policyMap":{},"policies":[],"userPermissions":[]},"pageId":"Page1","collectionId":"Page1_JSObject4","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","encodeParamsToggle":true,"body":"function () {\n setInterval(() => {\n console.log(\"This interval will not work properly due to an invalid callback function.\");\n }, dasdas, \"myInterval\");\n}","selfReferencingDataPaths":[],"jsArguments":[]},"executeOnLoad":false,"clientSideExecution":true,"dynamicBindingPathList":[{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["function () {\n setInterval(() => {\n console.log(\"This interval will not work properly due to an invalid callback function.\");\n }, dasdas, \"myInterval\");\n}"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policyMap":{},"userPermissions":[],"createdAt":"2024-12-01T06:08:15Z"},"publishedAction":{"datasource":{"messages":[],"isAutoGenerated":false,"deleted":false,"policyMap":{},"policies":[],"userPermissions":[]},"messages":[],"userSetOnLoad":false,"confirmBeforeExecute":false,"policyMap":{},"userPermissions":[],"createdAt":"2024-12-01T06:08:15Z"},"gitSyncId":"674bfbf855991c29a2fddc76_b503731a-1d91-401d-a4af-0f2d0f17364f","id":"Page1_JSObject4.myFun1","deleted":false},{"pluginType":"JS","pluginId":"js-plugin","unpublishedAction":{"name":"myFun1","fullyQualifiedName":"JSObject1.myFun1","datasource":{"name":"UNUSED_DATASOURCE","pluginId":"js-plugin","messages":[],"isAutoGenerated":false,"deleted":false,"policyMap":{},"policies":[],"userPermissions":[]},"pageId":"Page1","collectionId":"Page1_JSObject1","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","encodeParamsToggle":true,"body":"function () {\n try {\n {\n {\n clearInterval('myInterval');\n }\n }\n ;\n setInterval(() => {\n Api1.run();\n }, 5000, 'myInterval');\n showAlert('Interval started successfully with jsobject.');\n } catch (error) {\n showAlert('Error: ' + error.message);\n }\n}","selfReferencingDataPaths":[],"jsArguments":[]},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["function () {\n try {\n {\n {\n clearInterval('myInterval');\n }\n }\n ;\n setInterval(() => {\n Api1.run();\n }, 5000, 'myInterval');\n showAlert('Interval started successfully with jsobject.');\n } catch (error) {\n showAlert('Error: ' + error.message);\n }\n}"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policyMap":{},"userPermissions":[],"createdAt":"2024-12-01T06:19:06Z"},"publishedAction":{"datasource":{"messages":[],"isAutoGenerated":false,"deleted":false,"policyMap":{},"policies":[],"userPermissions":[]},"messages":[],"userSetOnLoad":false,"confirmBeforeExecute":false,"policyMap":{},"userPermissions":[],"createdAt":"2024-12-01T06:19:06Z"},"gitSyncId":"674bfbf855991c29a2fddc76_893463d3-162a-4440-b571-5610a3966e28","id":"Page1_JSObject1.myFun1","deleted":false},{"pluginType":"JS","pluginId":"js-plugin","unpublishedAction":{"name":"myFun1","fullyQualifiedName":"JSObject3.myFun1","datasource":{"name":"UNUSED_DATASOURCE","pluginId":"js-plugin","messages":[],"isAutoGenerated":false,"deleted":false,"policyMap":{},"policies":[],"userPermissions":[]},"pageId":"Page1","collectionId":"Page1_JSObject3","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","encodeParamsToggle":true,"body":"function () {\n setInterval(() => {\n testInvalid();\n }, 2000, \"testingFun\");\n}","selfReferencingDataPaths":[],"jsArguments":[]},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["function () {\n setInterval(() => {\n testInvalid();\n }, 2000, \"testingFun\");\n}"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policyMap":{},"userPermissions":[],"createdAt":"2024-12-01T06:32:08Z"},"publishedAction":{"datasource":{"messages":[],"isAutoGenerated":false,"deleted":false,"policyMap":{},"policies":[],"userPermissions":[]},"messages":[],"userSetOnLoad":false,"confirmBeforeExecute":false,"policyMap":{},"userPermissions":[],"createdAt":"2024-12-01T06:32:08Z"},"gitSyncId":"674bfbf855991c29a2fddc76_fbf9f4c6-f168-47bf-bc64-0b6faa21175c","id":"Page1_JSObject3.myFun1","deleted":false},{"pluginType":"JS","pluginId":"js-plugin","unpublishedAction":{"name":"myFun1","fullyQualifiedName":"JSObject5.myFun1","datasource":{"name":"UNUSED_DATASOURCE","pluginId":"js-plugin","messages":[],"isAutoGenerated":false,"deleted":false,"policyMap":{},"policies":[],"userPermissions":[]},"pageId":"Page1","collectionId":"Page1_JSObject5","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","encodeParamsToggle":true,"body":"function () {\n try {\n if (window.myInterval) {\n clearInterval(window.myInterval);\n }\n window.myInterval = setInterval(() => {\n showAlert('Interval triggered!');\n }, 5000);\n showAlert('Interval started successfully.');\n } catch (error) {\n showAlert('Error: ' + error.message);\n }\n}","selfReferencingDataPaths":[],"jsArguments":[]},"executeOnLoad":false,"clientSideExecution":true,"dynamicBindingPathList":[{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["function () {\n try {\n if (window.myInterval) {\n clearInterval(window.myInterval);\n }\n window.myInterval = setInterval(() => {\n showAlert('Interval triggered!');\n }, 5000);\n showAlert('Interval started successfully.');\n } catch (error) {\n showAlert('Error: ' + error.message);\n }\n}"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policyMap":{},"userPermissions":[],"createdAt":"2024-12-01T06:42:54Z"},"publishedAction":{"datasource":{"messages":[],"isAutoGenerated":false,"deleted":false,"policyMap":{},"policies":[],"userPermissions":[]},"messages":[],"userSetOnLoad":false,"confirmBeforeExecute":false,"policyMap":{},"userPermissions":[],"createdAt":"2024-12-01T06:42:54Z"},"gitSyncId":"674bfbf855991c29a2fddc76_d4f8d500-9c10-444e-828b-d0d41f299a67","id":"Page1_JSObject5.myFun1","deleted":false},{"pluginType":"JS","pluginId":"js-plugin","unpublishedAction":{"name":"myFun1","fullyQualifiedName":"JSObject2.myFun1","datasource":{"name":"UNUSED_DATASOURCE","pluginId":"js-plugin","messages":[],"isAutoGenerated":false,"deleted":false,"policyMap":{},"policies":[],"userPermissions":[]},"pageId":"Page1","collectionId":"Page1_JSObject2","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","encodeParamsToggle":true,"body":"function () {\n try {\n setTimeout(() => {\n Api1.run();\n showAlert('Api1 executed');\n }, 5000);\n setTimeout(() => {\n Api2.run();\n showAlert('Api2 executed');\n }, 5000);\n } catch (error) {\n showAlert('Error: ' + error.message);\n }\n}","selfReferencingDataPaths":[],"jsArguments":[]},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["function () {\n try {\n setTimeout(() => {\n Api1.run();\n showAlert('Api1 executed');\n }, 5000);\n setTimeout(() => {\n Api2.run();\n showAlert('Api2 executed');\n }, 5000);\n } catch (error) {\n showAlert('Error: ' + error.message);\n }\n}"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policyMap":{},"userPermissions":[],"createdAt":"2024-12-02T05:04:36Z"},"publishedAction":{"datasource":{"messages":[],"isAutoGenerated":false,"deleted":false,"policyMap":{},"policies":[],"userPermissions":[]},"messages":[],"userSetOnLoad":false,"confirmBeforeExecute":false,"policyMap":{},"userPermissions":[],"createdAt":"2024-12-02T05:04:36Z"},"gitSyncId":"674bfbf855991c29a2fddc76_dc1d4be7-85fd-4899-9041-808fe25a6a3a","id":"Page1_JSObject2.myFun1","deleted":false},{"pluginType":"JS","pluginId":"js-plugin","unpublishedAction":{"name":"stopInterval","fullyQualifiedName":"JSObject5.stopInterval","datasource":{"name":"UNUSED_DATASOURCE","pluginId":"js-plugin","messages":[],"isAutoGenerated":false,"deleted":false,"policyMap":{},"policies":[],"userPermissions":[]},"pageId":"Page1","collectionId":"Page1_JSObject5","actionConfiguration":{"timeoutInMillisecond":0.0,"paginationType":"NONE","encodeParamsToggle":true,"body":"function () {\n try {\n if (window.myInterval) {\n clearInterval(window.myInterval);\n showAlert('Interval stopped successfully.');\n } else {\n showAlert('No active interval to stop.');\n }\n } catch (error) {\n showAlert('Error: ' + error.message);\n }\n}","selfReferencingDataPaths":[],"jsArguments":[]},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["function () {\n try {\n if (window.myInterval) {\n clearInterval(window.myInterval);\n showAlert('Interval stopped successfully.');\n } else {\n showAlert('No active interval to stop.');\n }\n } catch (error) {\n showAlert('Error: ' + error.message);\n }\n}"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policyMap":{},"userPermissions":[],"createdAt":"2024-12-02T07:51:11Z"},"publishedAction":{"datasource":{"messages":[],"isAutoGenerated":false,"deleted":false,"policyMap":{},"policies":[],"userPermissions":[]},"messages":[],"userSetOnLoad":false,"confirmBeforeExecute":false,"policyMap":{},"userPermissions":[],"createdAt":"2024-12-02T07:51:11Z"},"gitSyncId":"674bfbf855991c29a2fddc76_df3a71cf-4cb4-4c43-b422-f67a84d96ab4","id":"Page1_JSObject5.stopInterval","deleted":false}],"actionCollectionList":[{"unpublishedCollection":{"name":"JSObject1","pageId":"Page1","pluginId":"js-plugin","pluginType":"JS","actions":[],"archivedActions":[],"body":"export default {\n\tmyFun1() {\n\t\ttry {\n\t\t\t{{clearInterval('myInterval')}}; // Clear the existing interval with ID 'few'\n\t\t\tsetInterval(() => {\n\t\t\t\tApi1.run();\n\t\t\t}, 5000, 'myInterval'); // Start a new interval with the same ID\n\t\t\tshowAlert('Interval started successfully with jsobject.');\n\t\t} catch (error) {\n\t\t\tshowAlert('Error: ' + error.message);\n\t\t}\n\t},\n};","variables":[],"userPermissions":[]},"gitSyncId":"674bfbf855991c29a2fddc76_9cc0e611-e5a4-4e57-a490-8e8ef0d47e3a","id":"Page1_JSObject1","deleted":false},{"unpublishedCollection":{"name":"JSObject2","pageId":"Page1","pluginId":"js-plugin","pluginType":"JS","actions":[],"archivedActions":[],"body":"export default {\n\tmyFun1() {\n\t\ttry {\n\t\t\tsetTimeout(() => {\n\t\t\t\tApi1.run();\n\t\t\t\tshowAlert('Api1 executed');\n\t\t\t}, 5000);\n\n\t\t\tsetTimeout(() => {\n\t\t\t\tApi2.run();\n\t\t\t\tshowAlert('Api2 executed');\n\t\t\t}, 5000);\n\t\t} catch (error) {\n\t\t\tshowAlert('Error: ' + error.message);\n\t\t}\n\t},\n};","variables":[],"userPermissions":[]},"gitSyncId":"674bfbf855991c29a2fddc76_63702513-362a-4594-bf88-adad6614e783","id":"Page1_JSObject2","deleted":false},{"unpublishedCollection":{"name":"JSObject3","pageId":"Page1","pluginId":"js-plugin","pluginType":"JS","actions":[],"archivedActions":[],"body":"export default {\n\tmyFun1() {\n\t\tsetInterval(() => {\n\t\t\t\ttestInvalid();\n\t\t}, 2000, \"testingFun\");\n\t},\n};","variables":[],"userPermissions":[]},"gitSyncId":"674bfbf855991c29a2fddc76_bbfa5493-5794-432e-8796-1b0a34ff83dc","id":"Page1_JSObject3","deleted":false},{"unpublishedCollection":{"name":"JSObject4","pageId":"Page1","pluginId":"js-plugin","pluginType":"JS","actions":[],"archivedActions":[],"body":"export default {\n\tmyFun1() {\n\t\tsetInterval(() => {\n\t\t\tconsole.log(\"This interval will not work properly due to an invalid callback function.\");\n\t\t}, dasdas, \"myInterval\");\n\t},\n};","variables":[],"userPermissions":[]},"gitSyncId":"674bfbf855991c29a2fddc76_196398d2-ee0f-4486-9a53-0b5ca63b6fbd","id":"Page1_JSObject4","deleted":false},{"unpublishedCollection":{"name":"JSObject5","pageId":"Page1","pluginId":"js-plugin","pluginType":"JS","actions":[],"archivedActions":[],"body":"export default {\n myFun1() {\n try {\n // Clear any existing interval with ID 'myInterval'\n if (window.myInterval) {\n clearInterval(window.myInterval);\n }\n\n // Start a new interval to run every 5 seconds\n window.myInterval = setInterval(() => {\n showAlert('Interval triggered!'); // Show alert every 5 seconds\n }, 5000);\n\n showAlert('Interval started successfully.');\n } catch (error) {\n showAlert('Error: ' + error.message);\n }\n },\n\n stopInterval() {\n try {\n if (window.myInterval) {\n clearInterval(window.myInterval); // Clear the existing interval\n showAlert('Interval stopped successfully.');\n } else {\n showAlert('No active interval to stop.');\n }\n } catch (error) {\n showAlert('Error: ' + error.message);\n }\n },\n};","variables":[],"userPermissions":[]},"gitSyncId":"674bfbf855991c29a2fddc76_2a42ff86-6858-4a1f-836b-45706db2ddfa","id":"Page1_JSObject5","deleted":false}],"editModeTheme":{"name":"Default-New","displayName":"Modern","isSystemTheme":true,"deleted":false},"publishedTheme":{"name":"Default-New","displayName":"Modern","isSystemTheme":true,"deleted":false}}