Expand my Community achievements bar.

SOLVED

DAM Update Asset Workflow

Avatar

Former Community Member

Hi,

Our site currently runs on AEM 6.2. One of the issues we're facing in the site is that extra commas are added to the title of the asset. I've done some research and found out that when a title is set before "DAM Update Asset" workflow gets completed, the new title contains both titles separated by commas. Please let me know how this can be avoided as it is causing a bit of issues in the site.

1 Accepted Solution

Avatar

Correct answer by
Level 10

You can build a custom workflow step, get the payload data, including the title and make changes to it. We are doing an ATCE experts tomorrow on this very subject - i recommend signing up and asking these questions.

Scott's Digital Community: Ask the AEM Community Experts for Feb 2018

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

You can build a custom workflow step, get the payload data, including the title and make changes to it. We are doing an ATCE experts tomorrow on this very subject - i recommend signing up and asking these questions.

Scott's Digital Community: Ask the AEM Community Experts for Feb 2018

The following has evaluated to null or missing: ==> liql("SELECT id, subject, body, depth, post_time, author.login, author.id, author.rank, metrics.views FROM messages WHERE topic.id = '${topicId}' AND is_solution = true").data.items[0] [in template "analytics-container" at line 82, column 31] ---- Tip: It's the final [] step that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign acceptedAnswer = liql("SELECT... [in template "analytics-container" at line 82, column 5] ----