From 4f809ce8f6dd7778185b7d70ab6b12a26971a162 Mon Sep 17 00:00:00 2001 From: KarlaCarvajal Date: Wed, 4 Dec 2024 13:12:43 -0500 Subject: [PATCH] fix(docs): Replace deprecated scheduled task after method --- .../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); ```