seitime-frappe/frappe/docs/current/models/workflow/workflow_state.html
2015-12-28 14:25:12 +05:30

286 lines
No EOL
4.1 KiB
HTML

<!-- title: Workflow State -->
<div class="dev-header">
<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
Version 6.x.x</a>
<a class="btn btn-default btn-sm" href="https://github.com/frappe/frappe/tree/develop/frappe/workflow/doctype/workflow_state"
target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
</div>
<p><b>Table Name:</b> <code>tabWorkflow State</code></p>
Workflow state represents the current state of a document.
<h3>Fields</h3>
<table class="table table-bordered">
<thead>
<tr>
<th style="width: 5%">Sr</th>
<th style="width: 25%">Fieldname</th>
<th style="width: 20%">Type</th>
<th style="width: 25%">Label</th>
<th style="width: 25%">Options</th>
</tr>
</thead>
<tbody>
<tr >
<td>1</td>
<td class="danger" title="Mandatory"><code>workflow_state_name</code></td>
<td >
Data</td>
<td >
State
</td>
<td></td>
</tr>
<tr >
<td>2</td>
<td ><code>icon</code></td>
<td >
Select</td>
<td class="text-muted" title="Hidden">
Icon
<p class="text-muted small">
Icon will appear on the button</p>
</td>
<td>
<pre>
glass
music
search
envelope
heart
star
star-empty
user
film
th-large
th
th-list
ok
remove
zoom-in
zoom-out
off
signal
cog
trash
home
file
time
road
download-alt
download
upload
inbox
play-circle
repeat
refresh
list-alt
lock
flag
headphones
volume-off
volume-down
volume-up
qrcode
barcode
tag
tags
book
bookmark
print
camera
font
bold
italic
text-height
text-width
align-left
align-center
align-right
align-justify
list
indent-left
indent-right
facetime-video
picture
pencil
map-marker
adjust
tint
edit
share
check
move
step-backward
fast-backward
backward
play
pause
stop
forward
fast-forward
step-forward
eject
chevron-left
chevron-right
plus-sign
minus-sign
remove-sign
ok-sign
question-sign
info-sign
screenshot
remove-circle
ok-circle
ban-circle
arrow-left
arrow-right
arrow-up
arrow-down
share-alt
resize-full
resize-small
plus
minus
asterisk
exclamation-sign
gift
leaf
fire
eye-open
eye-close
warning-sign
plane
calendar
random
comment
magnet
chevron-up
chevron-down
retweet
shopping-cart
folder-close
folder-open
resize-vertical
resize-horizontal
hdd
bullhorn
bell
certificate
thumbs-up
thumbs-down
hand-right
hand-left
hand-up
hand-down
circle-arrow-right
circle-arrow-left
circle-arrow-up
circle-arrow-down
globe
wrench
tasks
filter
briefcase
fullscreen</pre>
</td>
</tr>
<tr >
<td>3</td>
<td ><code>style</code></td>
<td >
Select</td>
<td >
Style
<p class="text-muted small">
Style represents the button color: Success - Green, Danger - Red, Inverse - Black, Primary - Dark Blue, Info - Light Blue, Warning - Orange</p>
</td>
<td>
<pre>
Primary
Info
Success
Warning
Danger
Inverse</pre>
</td>
</tr>
</tbody>
</table>
<hr>
<h3>Controller</h3>
<h4>frappe.workflow.doctype.workflow_state.workflow_state</h4>
<h3 style="font-weight: normal;">Class <b>WorkflowState</b></h3>
<p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
<div class="docs-attr-desc"><p></p>
</div>
<div style="padding-left: 30px;">
</div>
<hr>
<h4>Linked In:</h4>
<ul>
<li>
<a href="https://frappe.github.io/frappe/current/models/workflow/workflow_document_state">Workflow Document State</a>
</li>
<li>
<a href="https://frappe.github.io/frappe/current/models/workflow/workflow_transition">Workflow Transition</a>
</li>
</ul>
<!-- autodoc -->
<!-- jinja -->
<!-- static -->