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

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

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

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

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

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 ...


6

I have implemented the code using Tridion.ContentManager.CoreService.Workflow and there are 2 properties called - public DateTime? DueDate { get; set; } Under ActivityData class public DateTime? NextActivityDueDate { get; set; } Under ActivityFineshData class one can update the Expiration Time of an activity from code by set the value of DueDate property ...


6

By Default, the Tridion Content Manager Workflow Agent window Service runs under Local System account, But in my case it was running under some other user account (which was set in "This account" section shownin the image below). Changing it back to Local System Account fix the issue.


6

The Import/Export Service (as used by Content Porter) will set Session.ContextData so Event Handlers can detect that the Events are triggered by a Content Manager Import action. You could catch that the content has been added via Content Porter and push through a specific (automated) branch of the workflow to set the approval status (and any other actions ...


6

I have some code which does something similar. Our requirement was the scheduled item to stay in workflow until the Publish time so that users could still change it and cancel it without going to the publish Q. We achive this by finishing an activity which reads the next activities Due Date from a filed in the component. Here is our example. namespace ...


6

It is indeed taken care of when you purge your Workflow Process Histories. I don't think there is a way to purge the "snapshots" without purging the entire Process History.


6

I'm pretty sure users do not need the Workflow Management right in order to start workflow. Some things to check: Workflow settings in the context of the Publication the Bundle is created in (set Enable Workflow Process Associations in Shared Schemas and Structure Groups if you want to share the settings) If the user has at least read access in the context ...


6

With Topology Manager based publishing, the Minimal Approval Status is defined on a Target Type (which is part of a Business Process Type).


6

If your difference is based on the user's role in certain Publications, I would first consider adjusting authorization in terms of rights, groups, and maybe permissions. Otherwise yes, you could have Publication-specific Workflow Processes by unchecking the Publication setting for sharing workflows. See my post on Bundle Workflow for SDL Tridion 2013 (most ...


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