Where does the "Rejection Reason" go?
With a workflow enabled, if a person submits a page with changes and someone rejects it - and provides a reason - that reason does not seem to go anywhere.
That is, no email will be sent back to the person who submitted the change with the reason in it - nor can you see the reason for the rejection within the history of the page.
Am I missing something? Is this rejection reason going into a black hole? Something about this seems half-baked.
Chris.
Hi Hrc,
Thank you for contacting Telerik support.
This is a known issue and it is already logged in PITS with ID 6030
Please vote for it to raise its priority.
500 Telerik points are added to your account.
Regards,
Antoaneta
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>
I read that this was fixed in 5.0. My company upgraded to 5.0 but I still don't see the rejection reason anywhere! Any tips or advice?
Hi,
The problem is fixed in Siteifnity 5.0 and Sitefinity 5.1. For your convenience I have recorded a sample video demonstration. The rejected reason can be found inside the content of the page if you click Why rejected?.
Greetings,
Stefani Tacheva
the Telerik team
How can this "rejection" field be accessed through the API? I have a custom workflow in which I would like to add the Rejection Reason in the email that gets sent to the user(s). Please advise!
Hello Jared,
I have prepared a code sample how you can get the reject reason for Dynamic content item.
var providerName = String.Empty;
var cultureName =
"en"
;
Thread.CurrentThread.CurrentUICulture =
new
CultureInfo(cultureName);
DynamicModuleManager dynamicModuleManager = DynamicModuleManager.GetManager(providerName);
Type testType = TypeResolutionService.ResolveType(
"Telerik.Sitefinity.DynamicTypes.Model.TestModule.Test"
);
var myCollection = dynamicModuleManager.GetDataItems(testType).Where(
"Title = \"MyItem\""
).FirstOrDefault();
var b = ((IApprovalWorkflowItem)myCollection).GetCurrentApprovalTrackingRecord(
null
);
var rejectedText = b.Note;