From aa4c17dc5d1c12efae62e7ca3cfa6d253a67cddb Mon Sep 17 00:00:00 2001 From: KarlaCarvajal Date: Wed, 4 Dec 2024 14:28:46 -0500 Subject: [PATCH] fix(docs): replace deprecated scheduled task after method in user tasks doc (#1180) --- .../05-developer-guide/08-wfspec-development/08-user-tasks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/05-developer-guide/08-wfspec-development/08-user-tasks.md b/docs/docs/05-developer-guide/08-wfspec-development/08-user-tasks.md index a9f842522..9a4fb3809 100644 --- a/docs/docs/05-developer-guide/08-wfspec-development/08-user-tasks.md +++ b/docs/docs/05-developer-guide/08-wfspec-development/08-user-tasks.md @@ -202,7 +202,7 @@ String taskArg1 = "reply to my email, you must!"; String taskArg2 = "for my ally is the Force, and a powerful ally it is"; String taskDefName = "send-reminder"; -wf.scheduleTaskAfter(userTask, delaySeconds, taskDefName, taskArg1, taskArg2); +wf.scheduleReminderTask(userTask, delaySeconds, taskDefName, taskArg1, taskArg2); ```