Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

Custom workflow not moving ahead after Codeactivity is introduced between stages

$
0
0

Hi

I have created a custom workflow and put in Codeactivity between two stages (stage1-> CodeActivity -> Stage2). The codeactivity does not have any major code but just initializes one variable.

1.   The problem is when I click on Submit button to move the workflow to next stage, the workflow does not move ahead and stuck on stage1. Workflow History shows following  'setInitiationStage: One or more required fields are not filled or the activity is configured to always wait for a submit.' I have entered all the required values in PDP. The stage is set to AlwaysWait to True. I haven't put in ProjectSubmit Activity into the workflow.

2.   Strange thing is if I restart the workflow to move to current stage, then workflow moves to stage 2 along with the Codeactivity code.

3.    If I remove the codeactivity from workflow. Workflow does move to next stage2 instantly.  I have placed in a codeactivity before stage1 also which is working fine. Can someone advise me on this?       Thanks Dipti


Viewing all articles
Browse latest Browse all 5347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>