since ‎06-07-2020
‎26-08-2020
wendelinfa
Level 1
Betreff: AEM 6.4 Workflow - Assign Task - Task - Due Date and Timeout Handler / how to use for Reminder and Notification
Avatar

wendelinfa

wendelinfa
- Adobe Experience Manager Forms
Is this Question at wrong place? If yes where could give input for this topic with handling of Due Date and TimoutHandler together with possible reminder (I assume that every workflow with tasks will run into this topic ..)

Views

130

Likes

0

Replies

0
Re: AEM 6.4 Workflow - Assign Task - Advanced - Use custo...
Avatar

wendelinfa

wendelinfa
- Adobe Experience Manager Forms
Great - Thanks a lot for the sample Script - works fine in 6.5 / will raise a Ticket for our 6.4 environment

Views

166

Likes

0

Replies

0
Re: AEM 6.4 Workflow - Assign Task - Advanced - Use custo...
Avatar

wendelinfa

wendelinfa
- Adobe Experience Manager Forms
I just made a test in AEM Forms 6.5 - there var workflowData = workItem.getWorkflowData() is working without problems - so in my understanding thats a error in Adobe Experience Manager: 6.4.6.0 we use actualy. Is there a chance that it is fixed on a 6.4x Version? Otherwise we will wait until we upgrading to 6.5 and 6.6

Views

171

Likes

0

Replies

0
Re: AEM 6.4 Workflow - Assign Task - Advanced - Use custo...
Avatar

wendelinfa

wendelinfa
- Adobe Experience Manager Forms
thanks for the ecma statements - this working also for us on other places like participantchoser until know but not in this custom metadata script integration. Unfortunately we still get ReferenceError: "workItem" is not defined at this specific place .. is workItem generally not available in this function getUserMetaData() as described in the sample?

Views

181

Likes

0

Replies

0
AEM 6.4 Workflow - Assign Task - Task - Due Date and Timeout Handler / how to use for Reminder and Notification
Avatar

wendelinfa

wendelinfa
- Adobe Experience Manager Forms
HelloWe would like to use Due Date for Tasks. This works fine, when using the Inbox, Status, remaining time .. are shown. Is it possible to generate a reminder notification (sample Due Date 14 days and a reminder after 10 days) / what could be used for? What can we do with the timeoutHandler / Looking for something like notification or reassignemnt after reaching the Due Date .. I found https://docs.adobe.com/content/help/en/experience-manager-64/forms/workflows/aem-forms-workflow-step-reference...

Views

159

Likes

0

Replies

1
Re: AEM 6.4 Workflow - Assign Task - Advanced - Use custo...
Avatar

wendelinfa

wendelinfa
- Adobe Experience Manager Forms
As in the sample, we notify the assignee of a task, using there a mail template and in this mailtemplate we would like to use workflow metadata or formdata (via workflow payload). As this metadata or payload access works fine in ecma script for dynamic participant as assignee we are unhappy whith the situation that this works not same way in this ecma script for custom metadata .. so we try to find the correct syntax or statements to acess wf metadata or form payload for assignee notification in...

Views

182

Likes

0

Replies

0
Re: AEM 6.4 Workflow - Assign Task - Advanced - Use custo...
Avatar

wendelinfa

wendelinfa
- Adobe Experience Manager Forms
Hello and thanks for the Links as we are on AEM Forms 6.4 variables based on the documentation are only available from AEM Forms 6.5 and newer (Starting with AEM 6.5 you can now create and use variables in AEM Workflow ..) / are ther other options?

Views

207

Likes

0

Replies

0
Re: AEM 6.4 Workflow - Assign Task - Advanced - Use custo...
Avatar

wendelinfa

wendelinfa
- Adobe Experience Manager Forms
Tried var test = workItem.getWorkflowData().getMetaDataMap().get(wf_mailaufgabe_subject, Packages.java.lang.String); and var test = workItem.getWorkflowData().getMetaDataMap().get("wf_mailaufgabe_subject", Packages.java.lang.String); with same error as initialy described ..

Views

189

Likes

0

Replies

0
Re: AEM 6.4 Workflow - Assign Task - Advanced - Use custo...
Avatar

wendelinfa

wendelinfa
- Adobe Experience Manager Forms
Thanks for the Reference / is AEM Forms 6.5 equal to 6.4 (I assume Metadata handling has som major extensions)

Views

192

Likes

0

Replies

0
Re: AEM 6.4 Workflow - Assign Task - Advanced - Use custo...
Avatar

wendelinfa

wendelinfa
- Adobe Experience Manager Forms
Thanks for the Reference / is AEM Forms 6.5 equal to 6.4 (I assume Metadata handling has som major extensions)

Views

193

Likes

0

Replies

0
AEM 6.4 Workflow - Assign Task - Advanced - Use custom Metadata - ECMA getUserMetaData() - how to get Workflow Metadata .. workItem Error
Avatar

wendelinfa

wendelinfa
- Adobe Experience Manager Forms
We try to use Workflow Metadata inside Assign Task notification eMail. Sample https://docs.adobe.com/content/help/en/experience-manager-64/forms/publish-process-aem-forms/use-metadata-in-email-notifications.html#using-custom-metadata-in-an-email-notification is working fine. When using var wfmetadata = workItem.getWorkflow().getMetaDataMap(); witch is working in participantChoser getParticipant() we get error/apps/fd/dashboard/scripts/metadataScripts/kpbTaskMetaData_v1.ecma: ReferenceError: "wor...

Views

407

Likes

0

Replies

16
Re: Try to find and use session.getUserID() in Forms Desi...
Avatar

wendelinfa

wendelinfa
- Adobe Experience Manager Forms
@Mayank_Gandhi Thanks for the links / the data source I ztryed before - unfortunately the UserID ist not part of the schema (only name, firstname .. email) - The UserId is planned to use later in the workflow to assign tasks (I found a option in the workflow usind the Workflor Initiator witch ist part of the Workflow Metadata). It would be still helpfull to get Session Information like UserID directly via Rule Editor. As this seems to be not a common approach we can freeze this Topic - I will re...

Views

237

Likes

0

Replies

0
Re: Try to find and use session.getUserID() in Forms Desi...
Avatar

wendelinfa

wendelinfa
- Adobe Experience Manager Forms
@Mayank_Gandhi are there other sources where I can find Information about Rule Editor Script like samples, syntax, documentation ..

Views

266

Likes

0

Replies

0
Re: Try to find and use session.getUserID() in Forms Desi...
Avatar

wendelinfa

wendelinfa
- Adobe Experience Manager Forms
I allready gave theme a try (aem_userId.value = session.getUserID();) - without success .. there was no reaction - is there a special syntax - how can i debug it?

Views

293

Likes

0

Replies

0
Try to find and use session.getUserID() in Forms Designer - Rule Editor - Script
Avatar

wendelinfa

wendelinfa
- Adobe Experience Manager Forms
Hello As I'm new in this Borad I hope to be on the right audience.We use AEM Forms 6.4 and extending our Forms with more prefilling and other functionality. I found https://docs.adobe.com/content/help/en/experience-manager-learn/forms/adaptive-forms/prefill-service-adaptive-forms-article-use.html as one possible solution to get the logged in UserId (from the current Session). Is there a option to do that in the Rule Editor directly by a Script without background pachages, bundles ..?Goal would b...

Views

304

Likes

0

Replies

6