since ‎19-08-2020
‎04-11-2020
troubleshooter3
Level 1
Re: How to Update Language Copy Using Java workflows?
Avatar

troubleshooter3

troubleshooter3
- Adobe Experience Manager
That code is still using create language copy and not update language copy, however I have also tried adding language list attribute to metadata.

Views

84

Likes

0

Replies

0
How to Update Language Copy Using Java workflows?
Avatar

troubleshooter3

troubleshooter3
- Adobe Experience Manager
I have customized my translations and I use below code to create language copy, I am not sure what will be the similar code for update language copy? I tried String workflowName = "/var/workflow/models/wcm-translation/update_language_copy"; but it ends up throwing "Failed to load master language from payload." WorkflowSession wfSession = workflowService.getWorkflowSession(session);// We can have any workflow model here - For creating language copy I am using create_language_copy workflow.String ...

Views

97

Likes

0

Replies

3
Re: Wait for first workflow to finish before starting second
Avatar

troubleshooter3

troubleshooter3
- Adobe Experience Manager
Thanks I appreciate your answer, I am not sure if that will work for me, since I am triggering the OOTB workflows from java code and I donot have control to those workflows.

Views

139

Likes

0

Replies

0
Re: Query Builder - Search multiple properties with AND/O...
Avatar

troubleshooter3

troubleshooter3
- Adobe Experience Manager
Thanks! Thats what I was looking for.

Views

96

Likes

0

Replies

0
Query Builder - Search multiple properties with AND/OR operator
Avatar

troubleshooter3

troubleshooter3
- Adobe Experience Manager
How can I search with in multiple properties using OR operator. Below is what I need: path=/test/121_property=property11_property.value=value1 AND 2_property=property22_property.value=value2 OR3_property=property33_property.value=value3 1st property is mandatory while 2nd and 3rd is OR

Views

133

Likes

0

Replies

2
Wait for first workflow to finish before starting second
Avatar

troubleshooter3

troubleshooter3
- Adobe Experience Manager
This is very straight forward situation where my first workflow sets up some values and second workflow uses those values to do something. My problem is 1st workflow takes time to set up those values and second workflow is unable to get the values 1st workflow sets up. How can I make sure to wait till 1st Workflow is completed before invoking second. Below is my code, It is doing the trick but I am not sure if thats the right way. while (wfSession.getWorkflows(new String[] { "RUNNING" }).length ...

Views

236

Likes

0

Replies

7
Re: Update Translation without updating content
Avatar

troubleshooter3

troubleshooter3
- Adobe Experience Manager
I am using a Java workflow code to retry adding the failed translation content to translation project, since on first trial a language copy was created therefore it doesnt let me create a new copy without change. deleting the old language copy is not an option.

Views

142

Likes

0

Replies

0
Re: Update Translation without updating content
Avatar

troubleshooter3

troubleshooter3
- Adobe Experience Manager
I have a Job that resend failed translations back to vendor and for that I need to restart jobs by sending my pages/experience fragments back to Translation projects. Since a language copy was already created when I sent the translation for the first time, now when I retry those translations it says there is no change in the content.

Views

174

Likes

0

Replies

0
Update Translation without updating content
Avatar

troubleshooter3

troubleshooter3
- Adobe Experience Manager
I know in AEM if language copy was already created, it considers it update language copy while trying to translate it again. Is there a way I can send a content for translation again while there is no changes in the content? Right now it gives error as below if I try that: No translation project created, There is no change detected between /content/experience-fragments/app/en/xyz /content/experience-fragments/app/fr/xyz

Views

255

Likes

0

Replies

5
Likes given to