- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2015 01:54 PM
Hello
I have a piece of workflow running off sc_req_item which isn't supposed to be running approvals, instead, this one is creating a whole bunch of tasks.
Right now, the workflow has 5 stages: Waiting for Approval, Fulfillment, Delivery, Request Complete and Cancelled. I have an auto approve action that is supposed to push past the Waiting for Approval Stage.
The problem is that the workflow at the beginning gets stuck on Waiting for Approval. Nor can I see the "Show Workflow" link on Requested Item. No approval record is being created.
Am I missing something?
Solved! Go to Solution.
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2015 06:42 AM
I have a guess here .. Can you check the approvals in the request rather than requested item ? There is a business rule out of the box that pushes the RITM to this state...
The workflow will get attached only after this approval is done .. Hence, no show workflow link either ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2015 02:22 PM
can you show a pic of the workflow that might help visualize where it is going south.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2015 02:32 PM
Can't really post it here as it is waaay too big to post (plus I'm not allowed to). Coles notes are as follows:
- I have a branch and join set that includes 3 main branches and about 10 different tasks created in each branch. One branch is mandatory, the other two are optional depending on info (with even one branch splitting into 3 more). At the end, all of the task processing leads to the join before the workflow is concluded.
- The begin stage is "Waiting for Approval", after that is an auto approve action, also in Waiting for approval. Once the approval is automatically given, it then moves to the branch action where it is given the fulfillment stage. It then branches off into the various tasks while in "Delivery" Stage. The join comes afterwards, also in delivery, and the End part of it is in "Request Complete".
Noting the logs, I do see a couple of warning and wondering could they explain something, even though I don't know what that means:
ValidateWorkflowEndStages
Stage warnings found. The stage indicator will not show the workflow is completed. If this is not by design, make the appropriate changes.
msg=End activity 'End' found with invalid stage 'End'
result=invalid
ValidateTransitionOut
This workflow contains 1 activity conditions without an output transition. This activity might not transition to the next activity, which could cause the workflow to hang. If this is not by design, examine the noted condition and provide a transition.
msg=Condition Incomplete of All Tasks Completed has no exit transition.
sys_id=075459770fd571009b9de388b1050e33
table=wf_activity
name=All Tasks Completed
result=invalid
Any ideas given the info?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2015 02:38 PM
Stage warnings found. The stage indicator will not show the workflow is completed. If this is not by design, make the appropriate changes.
msg=End activity 'End' found with invalid stage 'End'
____________________
that one may cause issues but not THIS issue... the last step should be a stage of "Completed" this will trigger the item to go to a stage of completed which triggers br's that close out the parent etc...
my next step would be to look at all the stages you have set in your workflow.. then click on properties edit stages and verify they are all defined in the workflow itself.
then look at an open item where the stage is "Waiting for fulfillment" and you feel it shouldn't be... in the item click on the show workflow and see if it hit a block that has a stage other than waiting for fulfillment.. in fact look at the stage for the active blocks <green ones> it sounds like you may be creating two blocks at the same time with different stages.. not sure how the system would handle that...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2015 05:22 PM
Is it possible that the workflow is not attaching to the Item? I went back to the items to take a look and don't see the "Show Workflow" on the item in question. Was it not made correctly?