Skip to main content
Solved

Workflow API

  • 24 July 2023
  • 1 reply
  • 44 views

Hello.  Is an extension project required for use in the workflow API?  I don’t see this question answered in the training class, although it’s example uses the extension library.  When building a workflow code file for use in the website App_Runtime folder (instead of a .Net library), an error happens in a transition.  I’m unsure if the ambiguity is legitimate or not.

 

 

1 reply

Badge +12

No, I’m using it in a non-extension library situation.

 

The start of my graph extension looks like this:

...

using PX.Data.WorkflowAPI;

namespace CaseWorkflow
{
using static PX.Data.WorkflowAPI.BoundedTo<CRCaseMaint, CRCase>;

public class CaseWorkflow_CRCaseMaint_WorkflowExt : PXGraphExtension<PX.Objects.CR.Workflows.CaseWorkflow, CRCaseMaint>
{
...

 

Reply