Yii Framework Forum: Yii Workflow - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Yii Workflow Rate Topic: -----

#1 User is offline   Yii123 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 46
  • Joined: 13-March 13

Posted 21 March 2013 - 01:33 AM

I have application like forum, registered users can post questions to this forum, and registered users can reply to any questions. The states of question are – Open- post a question
Active- Get a reply for posted question
Closed-
if any user posted answer to a particular question, send a mail to the user who posted that question.
Is it possible to use the workflow in this case?
0

#2 User is offline   Yii123 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 46
  • Joined: 13-March 13

Posted 22 March 2013 - 01:02 AM

Any solutions..?
How create workflow? How set status in controller action? How mail send by using this workflow?
thanks.
0

#3 User is online   msoa 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 258
  • Joined: 15-August 12

Posted 22 March 2013 - 01:30 AM

I have no experience in this field. but if searching on http://www.yiiframew...com/extensions/ with 'mybb' an 'phpbb' words maybe found a few extension for it.
0

#4 User is offline   Yii123 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 46
  • Joined: 13-March 13

Posted 22 March 2013 - 02:30 AM

Need not any other extensions. How it possible using yii workflow engine?
0

#5 User is offline   Simon Mathew 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 16-April 14

Posted 16 April 2014 - 05:13 AM

how to create dynamic workflow in yii..?
0

#6 User is offline   Keith 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 1,520
  • Joined: 04-March 10
  • Location:UK

Posted 16 April 2014 - 06:26 AM

Have you tried this extension? Homepage.
0

#7 User is offline   jkofsky 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 535
  • Joined: 17-May 10
  • Location:Pensacola, Florida

Posted 16 April 2014 - 02:08 PM

View PostYii123, on 21 March 2013 - 01:33 AM, said:

I have application like forum, registered users can post questions to this forum, and registered users can reply to any questions. The states of question are – Open- post a question
Active- Get a reply for posted question
Closed-
if any user posted answer to a particular question, send a mail to the user who posted that question.
Is it possible to use the workflow in this case?

Your question suggests the 'work-flow.' This sounds like the blog demo with a slight modification.

Question Active: In 'comment' model 'insert' check the status in actionCreate(). If active, insert into model and send email (see ContactForm in standard skeleton app).

Question Closed: Don't show the reply form.

I would do the closed check in actionCreate, and notify user that question is closed via setFlash incase they somehow got there without the form.
Do, or do not. There is no 'try.' Jedi Master Yoda
0

#8 User is offline   Aneesh Asokan 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 240
  • Joined: 26-September 12

Posted 17 April 2014 - 06:47 AM

See this link
http://www.yiiframew...simpleworkflow/
Thanks
Aneesh.
1

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users