Skip to main content
Solved

Workflow API

  • July 24, 2023
  • 1 reply
  • 53 views

Chris Hardgrove
Jr Varsity I

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.

 

 

Best answer by darylbowman

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

 

View original
Did this topic help you find an answer to your question?

1 reply

darylbowman
Captain II
Forum|alt.badge.img+13

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings