I have created Email notification action and it gave as Entering stage action in Publish workflow stage.
But email notification was not scheduled for content.
please let me know if you have any idea.
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
11 replies Latest Post - 2013-02-07T14:51:21Z by SystemAdmin
Pinned topic WCM Content Item WorkflowAction Unknown
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-02-07T14:51:21Z at 2013-02-07T14:51:21Z by SystemAdmin
Re: WCM Content Item WorkflowAction Unknown2013-02-04T15:12:55Z in response to SystemAdminHi JOe,
I am able to see the workflow email notification Actions are scheduled When i am builting WCM content through manaully.
Once it's done i am changing "Expiry Date" through WCM Api script, this time workflow actions are not scheduled,
Following workflow actions:-
1) 90 days email notification before expiration date
2) 30 Days email notification before Expiration date.
Your help is greatly appreciate.
Mark_Winton 270003Y04W110 PostsACCEPTED ANSWER
Re: WCM Content Item WorkflowAction Unknown2013-02-04T17:38:58Z in response to SystemAdminJust to clarify your issue:
1) When creating a content item you specify its expiry date, and the dates for the email actions are set correctly. If not alterations are made to the content these emails are sent out at the correct time.
2) You edit the content item and change its expiry date.
3) The email action dates aren't updated after step 2, i.e. they still have the same value that they did after step 1.
If the above is correct, then I believe the issue is that workflow actions are only executed when an item enters or exits a workflow stage; editing a live content item doesn't force the item through any additional stages, so the email action dates aren't ever updated.
The solution for this would either be to ensure that any edits force the content item back through the taskflow stages (I'm not sure exactly how you'd go about setting this up), or if you're on Portal 7 or later to enable to WCM JMS messaging and listen out for any content items being edited to see if they require some custom steps to update some values and/or restart the workflow.
Re: WCM Content Item WorkflowAction Unknown2013-02-04T19:22:11Z in response to SystemAdminWhat Mark has responded is the issue if the content item enters the publish stage without an expiry date. If you then change the expiry date via an API you are changing the content 'as-is' so it is not reentering the publish stage which means the email will not get sent.
Re: WCM Content Item WorkflowAction Unknown2013-02-04T19:31:54Z in response to SystemAdminHi Joe,
I really appreciate your help...
Let me tell you clearly here about the issue if didn't get it so far.
I created content with Expiry date as 06/30/2013, and it got published, Workflow actions show like
PA Publish: Complete
PA Content Expiry Email Notification: Scheduled - Action scheduled for 3/30/13 12:09 PM.
PA 30 Days Content Expiry Email Notification: Scheduled - Action scheduled for 5/30/13 12:09 PM
Later I changed Expiry date as 10/30/2013 through WCM API Script, Content Item was restarted and it got published, but workflow Actions shows like bellow
PA Publish: Complete
PA Content Expiry Email Notification: Unknown.
PA 30 Days Content Expiry Email Notification: Unknown
Please let me if you didn't get my issue.
Re: WCM Content Item WorkflowAction Unknown2013-02-06T14:48:05Z in response to SystemAdminHi, I understand the problem your are seeing. Another couple of questions if I may. Did you restart the workflow using the API? When did you set the Expire date, before or after restarting the workflow? The expire date should have been changed in the draft stage and not the publish stage.
Re: WCM Content Item WorkflowAction Unknown2013-02-06T20:07:23Z in response to SystemAdminYes Joe, I am restarting workflow through WCM api.
// sending for approval
// approved, once it approved it publish
Re: WCM Content Item WorkflowAction Unknown2013-02-07T14:51:21Z in response to SystemAdminSree,
So, looks like the process is correct. It could be that when using the API to move the content item between stages the actions are not getting triggered properly. The only thing I can suggest at this time is to open a PMR.