Hellow, I'm wondering if is there any possibility to attach workflows to field collection items (FCI)?

In my specific case I'm triying to set a workflow to invoice items (lines) which are FCI, every invoice item has a budget account, that account has responsible for sign or approve charges to that account

Is there any chance to achieve this ?

Thanks in advance

Comments

johnv’s picture

This would be possible if Workflow were a 'true' Field API field, as proposed in #2019345: Create a 'Workflow Field' with Widget, Formatter, Fieldtype

johnv’s picture

Status: Active » Closed (duplicate)

Let's focus on #2019345.

gusantor’s picture

ok, thanks

johnv’s picture

Version: 7.x-1.0 » 7.x-2.x-dev
Issue summary: View changes
Status: Closed (duplicate) » Fixed

This should be working now using Workflow Field. Please re-open if there is a problem.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

SocialNicheGuru’s picture

Status: Closed (fixed) » Active

This is what I am seeing on worfklow ; Information added by Drupal.org packaging script on 2014-05-21 version = "7.x-2.4-beta1+0-dev"
https://drupal.org/node/2264793

johnv’s picture

Title: Workflow to field collection itmes » Abiity to add a Workflow to Field Collection items
Status: Active » Closed (fixed)
johnv’s picture

Title: Abiity to add a Workflow to Field Collection items » Ability to add a Workflow to Field Collection items
gusantor’s picture

Workflow Field isn't solution for me :(

I dont need just to hide/show fields depending of the Host entity workflow state, but to give the FCI its own WF (i.e.: approved, rejected, paid, etc)

by now I'm just doing it programmatically , it is slow, hard to maintain and lacking of all te tracking benefits of real WF

is there a way to achieve this functionality ?

johnv’s picture

Status: Closed (fixed) » Active

@gusantor, please re-open the issue when you have a new question (or create a new one). So you still cannot add a Workflow to a Field Collection? So this is not solved in your opinion?

hassanali20’s picture

@gusantor - did you find a solution to your probelm? I have similar situation to logically divide the node fields and have approval workflow on each field collection (or group of fields).

Ex: an article node having editorial data and images, both are reviewed and approved by two different people.

gusantor’s picture

@hassanali20, Hi, nope, at least not by the way of WF

I just did it programmatically

Somewhere I read that it is possible to add WF to FCI (or entities generally speaking), but I haven't the time to try or investigate :( ... sorry

johnv’s picture

Status: Active » Closed (outdated)

New features for D7 are not processed anymore, (unless a patch is provided)