16

The purge tool is just another client of the API. It doesn't touch database tables. It uses standard API calls to clear the histories out. Deleting records from the database will make the system "unsupported", meaning that Tridion support will then have the option of refusing to help you with it in the future. Don't ever do anything to take a production ...


13

It is the same in SDL Tridion 2013. There's no real problem as you can just create a copy of your process definition, update it and switch to it. Your existing process instances will continue with current process, but new will be created with updated process definition. After all of the running processes will complete - you can delete old process definition


12

Before answering your question, I would state the following... It looks like you are thinking of just putting your thread to sleep for a period of time, and then carrying on with a workflow activity at a later time. I would strongly recommend against doing this. As I think you may have guessed, this thread will die eventually, and break your ...


11

Enable Workflow Process Associations in Shared Schemas and Structure Groups lets us use Workflow Process definitions defined higher in the BluePrint in the current publication. Without this checked in Publication Settings, only schemas set to local Workflow Process definitions are available. We only need to check this in the Publication that contains the (...


10

Found it, not sure if this will help anyone else as I am sure that it probably isn't an actual problem for more experienced tridion users. But the id of the person who kicked off workflow was found using ProcessInstance.Creator.IdRef;


9

You could write a .net Console application that uses the Tridion Core Service to update metadata on the existing pages. Elena Serghie has written a guide to setting up the Core Service. There's also this useful article on updating content with Core Service.


9

The safest way is to just schedule purging every once in a while. It's never good idea to do something on the database directly, becides you will lose your support if you will delete something from the database.


9

This source code will give you the last Manual Activity Performer. I think it makes sense since the performer for the Automatic Activities is always the Workflow Agent Identity. This sample is for Tridion 2013. However you can easily adapt it to Tridion 2011 if needed. public UserData GetLastManualActivityPerformer() { ActivityInstanceData ...


8

Task is a process definition with 1 activity, so you need FinishProcessEventArgs and subject is a Process


8

The same item cannot be in 2 different activities simultaneously, you can't do parallel workflow with SDL Tridion - 2013 or before. You need to implement the approvals sequentially.


8

You should consider (at least put some thought) on using the Tridion Notification Framework: https://code.google.com/p/tridion-notification-framework During the implementation often times, we try to tackle requirement at the moment and overlook the long term or future enhancements and maintainability. Having a framework like the above would help you even ...


7

You can do this by simply deleting process instance using Delete method


7

In Tridion 2013 you do not need YAWF anymore, you can directly write CoreService codes in script window, or even have external compiled activity being executed. In order to understand why it does not, you need to know that since 2013 the TcmWorkflowAgent.exe hands over the execution of legacy scripts to LegacyScriptExecutor which is hosted in Tridion COM+ ...


7

You could directly get the approval status from the Activity Definition. [TcmExtension("ActivityRelatedEvent")] public class ActivityRelatedEvent : TcmExtension { public ActivityRelatedEvent() { EventSystem.Subscribe<ActivityInstance, FinishActivityEventArgs>(ActivityFinishedEventHandler, EventPhases.Processed); } public void ...


7

Yes, you can use WebDAV URLs and probably should if porting process definitions between environments is important to you (i.e. the TCM IDs of your Template Building Blocks could change). You reference them in an external activity "script" as: AssemblyTbbId = "/webdav/200%20Website/Building%20Blocks/Path/To/Your/Assembly.tbbasm" Type = "YourNameSpace....


7

SDL Tridion Workflow allows administrators (and those with Workflow Management Rights) to create Process Definitions. These Process Definitions define the steps that a piece of content (Component, Page, etc.) will need to go through before a specific action can happen. The 'typical' use case for Workflow is to ensure that a piece of content is reviewed by ...


7

Quick note on this one. We were able to grab the error in XML format from the world server response that updates the status of the Translation item. This XML wasn't useful other than it contained "error" and the description (as displayed in the GUI). We subsequently parse the description and if we find specific (read RegEx) strings such as "contained no ...


7

I am sure Eric's solution will work with Web 8.5 as well. But I would not advise you to use Translation Manager Facade as service (and consume it in your workflow) because, with Web 8.5, the TMS is exposed by a web service itself that could be consumed directly in your Workflow Activity's code to interact with Translation Manager. To send translation from ...


7

The workflow agent would look in to "%TRIDION_HOME%\bin\TcmWorkflowAgent.exe.Config" for the Service Model Configuration, So You should check this file for the endpoint configurations In your case, make sure you are using the endpoint with the contract "Tridion.TranslationManager.V2.TmService.Client.ISessionAwareTmService". Hope this helps.


6

I agree that this would be a great feature. As user978511 suggests this won't work - until Process Definitions become a VersionedItem. That is probably a good ER or suggestion for ideas.sdltridion.com


6

I am not sure it works with Javascript/CME, but when dealing with CM (back-end) code, appending -v0 to a URI retrieves the latest version of an item. Something along the lines of var itemId = selection.getItem(0); itemId = itemId + "-v0"; might get you on the right path. Be careful that -v0 is only accessible to the person that owns the workflow item, so ...


6

No - an upgrade can (and usually will need to) be performed while there are active Workflow process instances. The changes to workflow in 5.3 do have an impact on existing workflows, but this is mostly related to the fact that in 5.3 and later versions workflow processes are Blueprinted. In 5.2 (and earlier versions), if you wanted to use the same ...


6

You don't need to read the item in this case, you can just use the Subject property: TcmUri workItemUri = new TcmUri(workItemId); WorkItem workItem = new WorkItem(workItemUri, new Session()); Component component = (Component) workItem.Subject; The Component will be read just in time (JIT) as soon as you access some of its properties.


6

There's no way to do it. Functionality you are looking for was added in SDL Tridion 2013 release. There you can push page into any existing process, or start a new one, without even specifying anything on structure group


6

Posting answer from Frank here for community users convenience. You need to use DecisionActivityFinishData instead of of ActivityFinishData. var decisionActivityFinishData = new DecisionActivityFinishData { NextActivity = new LinkToActivityDefinitionData{IdRef = "next activity ID"} }; csClient.FinishActivity(currentactivity.Id, ...


6

you need to "load" an item before you can get workflow info, try this. var item = $models.getItem(selection.getItem(0)); function itemLoaded() { $evt.removeEventHandler(item, "load", itemLoaded); var wfInfo = item.getWorkflowInfo(); ... } $evt.addEventHandler(item, "load", itemLoaded); item.load();


6

I had the same issue before and I found 2 possible solutions. 1) Implement your own Script Executor, you can find details about it here. Extending Workflow Scripts 2) Pass parameters to the standard script executor in the following way. AssemblyTbbId = "tcm:2-7070-2048" Type = "Tridion.ContentManager.Spark.Workflow.Publish.PublishToDevActivity" ...


6

SDL Tridion includes both Experience Manager and Workflow as part of the "SDL Tridion Core", so these are not different releases (like you would have with add-ons like SmartTarget). For both of those modules, their version is the same as SDL Tridion, "SDL Tridion 2013 SP1", and they're both installed with the main Tridion installer.


6

The property SaveEventArgs.ApprovalStatusResetOverrideis introduced indeed as part of HR1, however you'll need to grab the dll from the GAC as the one in the /bin/client folder is not updated by the HR1 installer. The details in the documentation describe the reasons. So if you have HR1 installed you are going to notice that if you go to your TRIDION_HOME\...


6

As Onno mentioned, the support of Visio 2016 is currently in our backlog. We have already done some testing and did not found any issues from Content Manager prospective. There is so far only one issue with installer (it does not properly detect that Visio 2016 is installed, so fails on pre-requisites check). But there is a workaround: On Web8 cd-layout ...


Only top voted, non community-wiki answers of a minimum length are eligible